tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yansheng Lin" <>
Subject RE: JSP forwarding outside of Context
Date Fri, 27 Feb 2004 20:42:23 GMT
Will JNDI help you in any way?  

I don't have a solution for ya:), but thought this would be a very good
counter-arguement against the idea that .war is the best deployment practise in


-----Original Message-----
From: Johansen, Roar [] 
Sent: Friday, February 27, 2004 6:06 AM
To: Tomcat Users List
Subject: JSP forwarding outside of Context

I supervise development of a web-app, currently deployed on Jrun, but I
also want to deploy it on other appservers, among those tomcat.

I want to distribute the app as a .war file (which we do), but with JSPs
outside the .war file. This because we want to be able to do fixes, and
not least to add JSPs (according to that being made possible by the
servlet we direct all requsts to, but that's a long story), without
having to redeploy the entire .war file.

Thing is, since we reside on the context root "/", anything below the
context root is in the .war file.

JRun4 supports the concept of "virtual mapping", by which means
resources within the context may be mapped to a different physical
location, e.g.

This maps the context relative path of /pages to the physical location
in <system-path>. This allows for "relocation" of resources to outside
of a .war file distribution. 

If I have managed to make myself clear here, is there any way I could do
something similar in tomcat?


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message