The darn Servlet API specification isn't making things easy for me.

How can I retrieve the path relative to the servlet of the HTTP request?

I can't use request.getPathInfo(), because this decodes the request URI. (No, I can't just re-encode it, because if the original URI included encoded slashes, this information would be lost.) I can't work backwards from request.getRequestURL(), because that method encodes the fragment identifier. (That is, if "mypage.html#fragment" were requested, this would return "mypage.html%23fragment".)

Garret

P.S. To top things off, IE seems to send the #fragment in its request, but Mozilla doesn't. What am I doing wrong?

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

Reply via email to