> From: Jim Willeke [mailto:[EMAIL PROTECTED] > Subject: Force All Requests to a single servlet > > I want to intercept all the requests to the 9080 port and analyze the > incoming URL and redirect to the new location(s).
You didn't bother to tell us what version of Tomcat you're using, so the links below are for the current one; adjust as needed. You might want to consider a Valve rather than a servlet, since you can configure a valve at the <Engine> level. One of Tomcat's built-in valves could be a starting point: http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html The related API doc is here: http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/valves/p ackage-summary.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]