The moose likes Tomcat and the fly likes Maybe the experts here would know. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Maybe the experts here would know." Watch "Maybe the experts here would know." New topic

Maybe the experts here would know.

Todd Baxter

Joined: Sep 26, 2007
Posts: 18
Can I do virtual path mapping something like the following


that is supported by JRun.

We have JSPs that are deployed outside of a WAR and outside of a
servlet context root and we would like to serve those.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Tomcat does not support JSPs outside of the servlet context.
What a lot of us are doing is using build tools like Ant or Maven to package common files into web applications at compile time.
This gives us the benefit of having self sufficient web applications but without having to manage multiple copies of the same files by hand.

disk space is cheap these days

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Maybe the experts here would know.
It's not a secret anymore!