try this

http://localhost/e2/tester.jsp?url=/myUrl/mypage.jsp&param1=1&param2=2

then when tester.jsp runs simply get the value of "url" and the other
parameters. The other parameters should represent the parameters that go
with the value of "url" so.

so when you have the all the parameters . simply add the parameters to the
request object and forward the request to the value of "url"

:) 

-----Original Message-----
From: Vlad Petric [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 10:20 AM
To: Orion-Interest
Subject: requestQueryString bug or not ?



Orion 1.3.8
IBM JDK 1.3 (aug 14)
Linux

having the following jsp (just for the sake of replicating the error):

<%=request.getQueryString%>

http://localhost:8080/e2/tester.jsp?x=x?x=z

prints:

x=x?x=z

BUT

http://localhost:8080/e2/tester.jsp?x=x;x=z?x=z

prints

x=z

(so a ';' makes a big difference)

I am very well aware of the fact that what I'm doing is highly
unorthodox, but I have very strong reasons  NOT to use URL encoding
(basically I built a WML proxy with the URL passed as a parameter; many
sites use WML variables in the URL to pass values  - an URL encoding
would simply kill these references)

Vlad


Reply via email to