Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 53612 invoked by uid 500); 29 May 2001 09:19:39 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 53602 invoked from network); 29 May 2001 09:19:38 -0000 Received: from unknown (HELO odin.tnt.telenor.no) (146.192.100.5) by h31.sny.collab.net with SMTP; 29 May 2001 09:19:38 -0000 Received: from grieg.isolutions.no [193.214.236.200] by odin.tnt.telenor.no with ESMTP (SMTPD32-5.05) id A1F42C43009E; Tue, 29 May 2001 10:55:00 +0100 Received: by GRIEG with Internet Mail Service (5.5.2650.21) id ; Tue, 29 May 2001 11:18:23 +0200 Message-ID: <4F7449DFDB94D411A9460000E20E9D3D0E3648@GRIEG> From: Terje Kristensen To: "'tomcat-user@jakarta.apache.org'" Subject: newbie problem: javax.servlet.ServletException at org.apache.jasp er.runtime.PageContextImpl.handlePageException Date: Tue, 29 May 2001 11:18:17 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi, I'm new to both this mailinglist and tomcat, and I was hoping you could help me start out. I use Tomcat 3.2 on a Win2K Server My problem: When going from this file (with the url: http://localhost:8080/xsql/lsp200/index_redirect.jsp?issue=&opn=%25&report=A dvanced+Reporting): LSP-200 - Changes in Issue <% String report = request.getParameter("report"); String opn = request.getParameter("opn"); String issue = request.getParameter("issue"); boolean no_1 = request.getParameter("report").equals("Printout complete issue"); boolean no_2 = request.getParameter("report").equals("Printout changes since last issue"); boolean no_3 = request.getParameter("report").equals("Printout sections"); boolean no_4 = request.getParameter("report").equals("Historic Data"); boolean no_5 = request.getParameter("report").equals("Advanced Reporting"); if (no_1) { String section1 = "section1.xsql?opn="+ opn + "&issue=" + issue; String section2 = "section2.xsql?opn="+ opn + "&issue=" + issue; String section3 = "section3.xsql?opn="+ opn + "&issue=" + issue; String section4 = "section4.xsql?opn="+ opn + "&issue=" + issue; String section5 = "section5.xsql?opn="+ opn + "&issue=" + issue; String section6 = "section6.xsql?opn="+ opn + "&issue=" + issue; String section7 = "section7.xsql?opn="+ opn + "&issue=" + issue; String section8 = "section8.xsql?opn="+ opn + "&issue=" + issue; String section9 = "section9.xsql?opn="+ opn + "&issue=" + issue; %> <% } if (no_2) { String section1 = "changes_section1.xsql?opn="+ opn + "&issue=" + issue; String section2 = "changes_section2.xsql?opn="+ opn + "&issue=" + issue; String section3 = "changes_section3.xsql?opn="+ opn + "&issue=" + issue; String section4 = "changes_section4.xsql?opn="+ opn + "&issue=" + issue; String section5 = "changes_section5.xsql?opn="+ opn + "&issue=" + issue; String section6 = "changes_section6.xsql?opn="+ opn + "&issue=" + issue; String section7 = "changes_section7.xsql?opn="+ opn + "&issue=" + issue; String section8 = "changes_section8.xsql?opn="+ opn + "&issue=" + issue; String section9 = "changes_section9.xsql?opn="+ opn + "&issue=" + issue; %> <% } if (no_3) { %>



<% } if (no_4) { %> <% } if (no_5) { %>


"/>
Historic Data:
<% } %> I'm trying to open this file: LSP200
"/>
, but I get the following error: Error: 500 Location: /xsql/lsp200/advanced_schema_sections.jsp Internal Servlet Error: javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:459) at lsp_00032_00030_00030._0002flsp_00032_00030_00030_0002fadvanced_0005fredirec t_0002ejspadvanced_0005fredirect_jsp_0._jspService(_0002flsp_00032_00030_000 30_0002fadvanced_0005fredirect_0002ejspadvanced_0005fredirect_jsp_0.java:122 ) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:177) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Root cause: java.lang.IllegalArgumentException at javax.servlet.http.HttpUtils.parseName(HttpUtils.java:285) at javax.servlet.http.HttpUtils.parseQueryString(HttpUtils.java:154) at org.apache.tomcat.facade.RequestDispatcherImpl.addQueryString(RequestDispatc herImpl.java:491) at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl .java:176) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:421) at lsp_00032_00030_00030._0002flsp_00032_00030_00030_0002fadvanced_0005fredirec t_0002ejspadvanced_0005fredirect_jsp_0._jspService(_0002flsp_00032_00030_000 30_0002fadvanced_0005fredirect_0002ejspadvanced_0005fredirect_jsp_0.java:72) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:177) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) What am I doing wrong? Terje Kristensen iSolutions AS Norway