I can't get Tomcat 4.1.18 to decode path info Correctly.
This works fine with Tomcat 4.0.6. I'm running Tomcat with
JDK 1.4.1 on Win2K.

Here is an example:

public class TestServlet extends HttpServlet {

  public void doGet(HttpServletRequest req, HttpServletResponse res) 
      throws ServletException, IOException {

    res.getOutputStream().print(req.getPathInfo());
    res.getOutputStream().close();

  }
}


When I invoke the servlet with 
http://localhost:8080/test/TestServlet/x/%E4/x
req.getPathInfo() should return /x/รค/x (the second element in the path
should the scandinavia a with two dots above it) but I get /x/?/x

I wonder what the problem is?

Thanks,
Andreas

_____________________________________________________________
Surf before you surf - http://www.surf.co.nz

_____________________________________________________________
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP & more! http://www.everyone.net/selectmail?campaign=tag

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to