*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Maybe the experts here would know." Watch "Maybe the experts here would know." New topic
Author

Maybe the experts here would know.

Todd Baxter
Greenhorn

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

<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>c:/InetPub/wwwroot</system-path>
</virtual-mapping>

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
Sheriff

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Maybe the experts here would know.
 
Similar Threads
First timer with Hibernate - unknown entity error
Confusion reigns. Please Help
Servlets in JRUN 4.0
For Tomcat 5.5.23 on Linux Gurus.
web.xml causes 404 error