Manish Singh wrote:
>
> i think the "?" would be missing as Kevin suggested plus i still think
> encodeURL is the proper method to use as it will take care of the
> conversion from spaces to '+' etc...

No, no, no!

The method encodeURL does not take care of conversion from spaces etc.
According to the javadoc, HttpServletResponse.encodeURL(String) only
appends the session id, as needed. The method you are thinking of is
URLEncoder.encode(String).

___________________________________________________________________________
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