Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 19657 invoked by uid 500); 29 May 2001 10:32:57 -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 17675 invoked from network); 29 May 2001 10:29:07 -0000 Received: from unknown (HELO odin.tnt.telenor.no) (146.192.100.5) by h31.sny.collab.net with SMTP; 29 May 2001 10:29:07 -0000 Received: from grieg.isolutions.no [193.214.236.200] by odin.tnt.telenor.no with ESMTP (SMTPD32-5.05) id A28E2D3E009E; Tue, 29 May 2001 12:05:50 +0100 Received: by GRIEG with Internet Mail Service (5.5.2650.21) id ; Tue, 29 May 2001 12:29:13 +0200 Message-ID: <4F7449DFDB94D411A9460000E20E9D3D0E364A@GRIEG> From: Terje Kristensen To: "'tomcat-user@jakarta.apache.org'" Subject: RE: newbie problem: javax.servlet.ServletException at org.apache. jasp er.runtime.PageContextImpl.handlePageException Date: Tue, 29 May 2001 12:29:04 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Oops, my error... The flow is as follows: from file1 to this: String opn =3D request.getParameter("opn"); String pcs =3D request.getParameter("pcs"); String vds =3D request.getParameter("vds"); boolean no_1 =3D request.getParameter("xsql_file").equals("Section Selection"); boolean no_2 =3D request.getParameter("xsql_file").equals("PCS = Selection"); boolean no_3 =3D request.getParameter("xsql_file").equals("VDS = Selection"); boolean no_4 =3D request.getParameter("xsql_file").equals("Pipe = Element Selection"); if (no_1) { %>"/><% } if (no_2) { %>&pcs=3D<%=3D pcs %>&name=3DPCS"/><% } if (no_3) { %>&vds=3D<%=3D vds %>&name=3DVDS"/><% } if (no_4) { %>"/><% } %> where I try to open file 2 in my previous mail.=20 It seems as if there is something wrong with my jsp:forward. Any clue? Will search the net... Thanks=20 Terje K. -----Original Message----- From: Ralph Einfeldt [mailto:ralph.einfeldt@uptime-isc.de] Sent: 29. mai 2001 11:53 To: 'tomcat-user@jakarta.apache.org' Subject: AW: newbie problem: javax.servlet.ServletException at org.apache.jasp er.runtime.PageContextImpl.handlePageException=20 To get an idea what happens, you should have a look at line 72 of the=20 generated java file _0002flsp_00032_00030_00030_0002fadvanced_0005fredirect_0002ejspadvanced= _000 5fredirect_jsp_0.java to find the place in advanced_redirect.jsp which causes this problem. Try to reduce your jsp's to the bare minimum that reproduces this = error. > -----Urspr=FCngliche Nachricht----- > Von: Terje Kristensen [mailto:Terje.Kristensen@igroup.no] > Gesendet: Dienstag, 29. Mai 2001 11:18 > An: 'tomcat-user@jakarta.apache.org' > Betreff: newbie problem: javax.servlet.ServletException at > org.apache.jasp er.runtime.PageContextImpl.handlePageException=20 =20 Root cause:=20 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(RequestDis= patc herImpl.java:491) at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcher= Impl .java:176) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:4= 21) at lsp_00032_00030_00030._0002flsp_00032_00030_00030_0002fadvanced_0005fred= irec t_0002ejspadvanced_0005fredirect_jsp_0._jspService(_0002flsp_00032_00030= _000 30_0002fadvanced_0005fredirect_0002ejspadvanced_0005fredirect_jsp_0.java= :72) =20