Hello,

I have a problem with change of the method HttpServletRequest.getRequestURL() in Java EE 5. I have this situation:

URL matches http://server/app/page-key-word-string
These URLs generates 404 Tomcat error page, which redirects (according to web.xml settings) to redirectServlet, where I get the client URL by calling request.getRequestURL() and then I parse the page-key-word-string and select the matching page from DB.

This worked fine in Java EE 1.4 but in Java EE 5 the getRequestURL() method returns the path to redirectServlet instead of the client URL. Please, where can I get the path specified by the client after Tomcat 404 error page redirection? Or is there other way to implement these functionality?

Thanks a lot.

--
Mgr. Tomas Pop
Master Internet s.r.o.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to