Hi All,

We are working on Tomcat 3.1 with JDK 1.2.2. and deployed all the .jsp pages
in Apache server.
For that we've created a new context in server.xml to take the .jsp pages
from Apache.
It's working fine. But the problem is multiple selection list box in it.

After submitting the page, if I try to get the value from the List box
(multiple) as

String Value[] = request.getParameterValues(name);

it is throwing an exception as,

****************************************************************************
****************************************************************************
*********************************************
Error: 500
Location: /cmt/browser/callagent/callagentmainpage.jsp
Internal Servlet Error:
javax.servlet.ServletException
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:386)
        at
browser.callagent._0002fbrowser_0002fcallagent_0002fcallagentmainpage_0002ej
spcallagentmainpage_jsp_0._jspService(_0002fbrowser_0002fcallagent_0002fcall
agentmainpage_0002ejspcallagentmainpage_jsp_0.java, Compiled Code)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java,
Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
Code)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va, Compiled Code)
        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java,
Compiled Code)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
Code)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled
Code)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java, Compiled Code)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
        at java.lang.Thread.run(Thread.java, Compiled Code)
Root cause: 
java.lang.NullPointerException
        at
browser.callagent._0002fbrowser_0002fcallagent_0002fcallagentmainpage_0002ej
spcallagentmainpage_jsp_0._jspService(_0002fbrowser_0002fcallagent_0002fcall
agentmainpage_0002ejspcallagentmainpage_jsp_0.java, Compiled Code)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java,
Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
Code)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va, Compiled Code)
        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java,
Compiled Code)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
Code)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled
Code)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java, Compiled Code)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
        at java.lang.Thread.run(Thread.java, Compiled Code)

****************************************************************************
****************************************************************************
*********************************************

Note : The same .jsp page is working fine if I use tomcat 3.1 and JDK 1.3. 

If any one find the solution for this problem please let me know.

Thanks in advance,
Subha



. 

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

Reply via email to