Encode only your parameter string , using URLEncoder.encode()
ex: jsp/test.jsp?param1=value1param2=value2
encode only the parameters and not the file name
Tony Keith wrote:
Christoph Kukulies wrote:
> I have some strings with blanks that I have to pass to a
> Servlet in the URL. How can I do
On Wed, Nov 29, 2000 at 11:09:49AM +0530, Ramesh Kumar . T wrote:
Encode only your parameter string , using URLEncoder.encode()
ex: jsp/test.jsp?param1=value1param2=value2
encode only the parameters and not the file name
Thanks and thanks to others who pointed me to this
URLEncoder class.
For each blank use %20 or +.
Or use java.net.URLEncoder.encode("A nasty Url to decode öäü");
-Ursprüngliche Nachricht-
Von: Christoph Kukulies [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 27. November 2000 18:58
An: [EMAIL PROTECTED]
Betreff: passing parameters to a Servl
Christoph Kukulies wrote:
I have some strings with blanks that I have to pass to a
Servlet in the URL. How can I do that?
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
If you are trying to test your servlet by passing information through a
URL,
then try the following.