java.net.URLEncoder.encode("Street # 14") returns Street+%23+14
Hope you got the "problem" and the "Solution".-----Original Message----- From: Vikas Gupta [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 1:17 PM To: [EMAIL PROTECTED] Subject: Re: URL It still does not work. as It just replaces space with + sign. The problem is # is treated as anchor sign in URL and we have to espace it. Thanks Vikas -----Original Message----- From: Chandrasekaran, Meera [mailto:[EMAIL PROTECTED]] Sent: Tue 3/5/2002 1:07 PM To: [EMAIL PROTECTED] Cc: Subject: Re: URL Vikas, you forgot to encode the URL! -----Original Message----- From: Vikas Gupta [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 1:05 PM To: [EMAIL PROTECTED] Subject: URL Hi, I am trying to read the following URL: http://www.abc.com?name=parm1&address=Street # 14&state=AB request.getParameter for address return back "Street" instead of "Street # 14". Any Sugesstions?? Thanks Vikas Nrzǧu隊[h+- ڲ fv)ܖ^{ay哺ʇͅƠzȠHDU,D㈠51$-b鯽!崶j+6j˧rj!ǬǫW{^-鯆E(캷mjw(ఛk鵡zzkz.娭Ǭ٥,HDU iࠆi0[(~牏(z䠿 ___________________________________________________________________________ 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 Nrzǧu隊[h+- ڲ fv)ܖ^{ayჺʇͅƠzȠHDU,Dc51$-b࠽!ึj+6j˧rj!ǬǫW{^-ᡆE(麷mjw(kᩡzzrkz.ᥭǬ٥,HDU iࠆi0[(~m(z ___________________________________________________________________________ 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
