Re: passing parameters to a Servlet

2000-11-28 Thread Ramesh Kumar . T
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

Re: passing parameters to a Servlet

2000-11-28 Thread Christoph Kukulies
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.

AW: passing parameters to a Servlet

2000-11-27 Thread Ralph Einfeldt
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

Re: passing parameters to a Servlet

2000-11-27 Thread Tony Keith
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.