Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets in JRUN 4.0

 
Manohar Vempati
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Anthony Villanueva
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic