How about using a filter servlet. Don't ask what this is - go and look it up in the servlet 2.3 API or search the java.sun.com site.
-----Original Message----- From: Anders Gunnare [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 19 November 2002 9:38 a.m. To: [EMAIL PROTECTED] Subject: Scanning the URL Hello World, I'm intrested in scaning the URL in my Tomcat-server 4.1.12 before the server is making a response. Depending what the URL contains the server shall do something with that. Can I do that? For example, a request can look like http://myserver/abc/index.jsp I don't have anything on my server which name is abc/index.jsp At this time the server shows an error-page. But I would like to show an home-made error page which says something about the content of the UTL. For example, in MS IIS and MS ASP there is a file global.as which a request is going in one time per session. Here is it possible to check the URL or whatever I want. Best regards Anders Gunnare Frontec Sweden -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
