File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Servlets in JRUN 4.0

Manohar Vempati

Joined: Nov 26, 2001
Posts: 7
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

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:
I agree. Here's the link:
subject: Servlets in JRUN 4.0
jQuery in Action, 3rd edition