Try java.net.URLDecoder.decode(String value) from JDK 1.2



> Hello Everybody,
>                            My problem is about the value passing through the
> querystring method.
>       For Ex.
>                   click on the following links
>                   1. Very Good
>                   2. Very Bad
>                   3. Very Nice
> Now what I want that when user click on any one of the above links then
> value should pass to the next page (Like 'Very Good' or 'Very Nice' or '
> Very Bad').
>   On the next page I am using the getQueryString() method for getting the
> value. But the problem is that I get the value Like ' Very%20Good'.
>          Is there any method or way by which I can get the original value
> without '%20' it means 'Very Good' . Please give some another solution
> except Java String manipulations (like substring() etc.).
>    Query String doesn't have a fixed format. It may contain any number of
> spaces or '-' or any character.
> Thanks in Advance.
> With regards
> Pranav
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to