... > Note that you'll end up with two independent copies of the > servlet in your two webapp directories, and they won't share > things like Sessions between them.
And, as I mentioned, I don't want that to happen. > You might, however, be able to get what you want using a > combination of http://tuckey.org/urlrewrite/ and two > Connectors defined on the same Service. Instead of introducing a third party component, it seems possible to write a custom Filter to do this. All it needs to do is look at the incoming port and if that equals 666 insert the "/myapp" into the url? The documentation on Filters is large but provides - again - little examples (like how to explain to Tomcat that I want to use this filter...). Anyway, I prefer any solution that stays within Tomcat. Mike. This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message. Thank you for your co-operation. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org