May be U can try the escape and unescape functions from javascript.
e.g. at your first JSP
<a href="javascript:location='jsppage.jsp?param='+escape(non-ascii-value)">
I am not sure about where to put the quotations but it should work
> I have an asp page that use :
> <A href="jsppage.jsp?param=non-ascii-value">Click here</A>
>
> And in the jsppage.jsp, get the parameter like this:
> <%= request.getParameter("param"); %>
>
> In the real case, I have a Japanese character string in non-ascii-value, but
> the value displayed on the screen becomes unreadable.
>
> How can I pass non-ascii string in the href?
>
> Anthony Mak
> ---------------
> $B%"%s%=%s%K!<!!%^%C%/ (B
> $B%j%s%/>pJs%7%9%F%`3t<02q<R (B
> $B%"%I%P%s%9;v6HIt!! (BE9 $B%A!<%` (B
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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
- Passing non-ascii code in the href? Anthony Mak
- Re: Passing non-ascii code in the href? Y Chan
- Re: Passing non-ascii code in the href? Prabhu bharat
