unicode « Parameter « JSP-Servlet Q&A





1. How do I correctly decode unicode parameters passed to a servlet    stackoverflow.com

Suppose I have:

<a href="http://www.yahoo.com/" target="_yahoo" 
    title="Yahoo!&#8482;" onclick="return gateway(this);">Yahoo!</a>
<script type="text/javascript">
function gateway(lnk) {
    window.open(SERVLET +
        '?external_link=' + encodeURIComponent(lnk.href) +
 ...

2. A problem with jsp requested parameters in tomcat    stackoverflow.com

I've created a JSP project with netbeans 7.0 and tomcat 7.0 too with no problem. When I export it to a WAR and deploy it into my Tomcat server this line doesn't ...