Thursday, April 2, 2009

How to create a virtual directory in JBoss? / How to host a page in JBoss?

Open the server.xml file (located at $JBOSS_HOME_DIR/server/default/deploy/jbossweb-tomcat55.sar).
Add <Context path=”/YourVirtualDir” docBase=”PathOfYourPhysicalDir”/> inside the <Host> tag.
You are done.

No comments:

Post a Comment