aspose file tools*
The moose likes Servlets and the fly likes Servlets in JRUN 4.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlets in JRUN 4.0" Watch "Servlets in JRUN 4.0" New topic
Author

Servlets in JRUN 4.0

Manohar Vempati
Greenhorn

Joined: Nov 26, 2001
Posts: 7
Hi,
Is there a way to access servlets residing in a directory not present under JRUN 4.0 installation directory?
If yes please give the details.
Thanx in advance
Manohar Vempati


Manohar.L.Vempati
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
According to the docs:

JRun 4 replaces the use-webserver-root property used in JRun 3.1 with a more generalized way to map virtual paths. Use a virtual path only if you use the web server root exclusively. If you do not use a virtual path, JRun searches the web application context root and then the web server root. Virtual path mappings in a jrun-web.xml file in a web application's WEB-INF directory let you map a resource path to a physical system path that might be outside of the web application context root. For example, the following entry sets a virtual path to the c:/InetPub/wwwroot directory:
<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>c:/InetPub/wwwroot</system-path>
</virtual-mapping>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets in JRUN 4.0