use URLEncoder.encode() to encode the parameter.

Pierre-Yves

BTW, you should turn off html in your mail. It causes problems when you send
code.


-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet API
Technology. [mailto:[EMAIL PROTECTED]]De la part de manav
agarwal
Envoy� : jeudi 26 avril 2001 23:17
� : [EMAIL PROTECTED]
Objet : Re: calling servlet using a link


sorry..i could have made it clearer...the parameter that i pass is  a
variable ...which may or may not contain the spaces...how do i make sure the
full variable is passed along..and not just the first word.


>From: Pierre-Yves Saumont
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology."
>To: [EMAIL PROTECTED]
>Subject: Re: calling servlet using a link
>Date: Thu, 26 Apr 2001 22:35:52 +0200
>
>
>
>Pierre-Yves
>
>
>-----Message d'origine-----
>De : A mailing list for discussion about Sun Microsystem's Java Servlet API
>Technology. [mailto:[EMAIL PROTECTED]]De la part de manav
>agarwal
>Envoy� : jeudi 26 avril 2001 21:51
>� : [EMAIL PROTECTED]
>Objet : calling servlet using a link
>
>
>How can i call a servlet using
>but with parameters ..some of which maybe a string(with spaces in between)
>etc..
>
>Can i not use  without it being in a
>
>My problem is that i have to call the servlet using a link and not a button
>etc..
>
>thanks in advance,
>
>Manav.
>
>
>
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST". Archives:
>http://archives.java.sun.com/archives/servlet-interest.html Resources:
>http://java.sun.com/products/servlet/external-resources.html LISTSERV Help:
>http://www.lsoft.com/manuals/user/user.html
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html



Get your FREE download of MSN Explorer at http://explorer.msn.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST". Archives:
http://archives.java.sun.com/archives/servlet-interest.html Resources:
http://java.sun.com/products/servlet/external-resources.html LISTSERV Help:
http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to