DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25326>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25326

Error in csv value in <init-param> in web.xml

           Summary: Error in csv value in <init-param> in web.xml
           Product: Cactus
           Version: 1.5
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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
());
    }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to