You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by ji...@apache.org on 2004/04/17 17:10:30 UTC
[jira] Closed: (CACTUS-83) Error in csv value in in web.xml
Message:
The following issue has been closed.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/CACTUS-83
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CACTUS-83
Summary: Error in csv value in <init-param> in web.xml
Type: Bug
Status: Closed
Priority: Blocker
Resolution: INCOMPLETE
Project: Cactus
Components:
Framework
Fix Fors:
1.6
Versions:
1.5
Assignee: Vincent Massol
Reporter: Robert Luo
Created: Mon, 8 Dec 2003 3:08 PM
Updated: Sat, 17 Apr 2004 8:08 AM
Environment: Operating System: Other
Platform: PC
Description:
in web.xml, we add csv value for one param, config is as follows:
<servlet>
<servlet-name>ServletRedirector</servlet-name>
<servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-
class>
<init-param>
<param-name>param1</param-name>
<param-value>value1 used for testing, csv value</param-value>
</init-param>
</servlet>
I failed in running org.apache.cactus.sample.TestSampleServletConfig, code is
as follows:
public void testServletConfig() throws ServletException
{
SampleServletConfig servlet = new SampleServletConfig();
// VERY IMPORTANT : Call the init() method in order to initialize the
// Servlet ServletConfig object.
servlet.init(config);
assertEquals("value1 used for testing, csv value", servlet.getConfigData
());
}
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org