tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terje Kristensen <Terje.Kristen...@igroup.no>
Subject RE: newbie problem: javax.servlet.ServletException at org.apache. jasp er.runtime.PageContextImpl.handlePageException
Date Tue, 29 May 2001 10:29:04 GMT
Oops, my error...

The flow is as follows: from file1 to this:
String opn		= request.getParameter("opn");
String pcs		= request.getParameter("pcs");
String vds		= request.getParameter("vds");
boolean no_1 	= request.getParameter("xsql_file").equals("Section
Selection");
boolean no_2 	= request.getParameter("xsql_file").equals("PCS Selection");
boolean no_3 	= request.getParameter("xsql_file").equals("VDS Selection");
boolean no_4 	= request.getParameter("xsql_file").equals("Pipe Element
Selection");
if (no_1) { %><jsp:forward page="advanced_schema_sections.jsp?opn=<%= opn
%>"/><% }
if (no_2) { %><jsp:forward page="advanced_schema_pcs.jsp?opn=<%= opn
%>&pcs=<%= pcs %>&name=PCS"/><% }
if (no_3) { %><jsp:forward page="advanced_schema_vds.jsp?opn=<%= opn
%>&vds=<%= vds %>&name=VDS"/><% }
if (no_4) { %><jsp:forward page="advanced_schema_pipe.xsql?opn=<%= opn
%>"/><% } %>

where I try to open file 2 in my previous mail. 
It seems as if there is something wrong with my jsp:forward. Any clue?

Will search the net...

Thanks 

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 


To get an idea what happens, you should have a look at line 72 of the 
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√ľngliche 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 
<snip/> 
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)
<snip/> 

Mime
View raw message