I am using jboss 4.0.4. I need to set up a virtual directory in a web app (it has authentication which set up in web.xml). I added the following context in server.xml under jbossweb-tomcat55.sar directory. Since each context is a web app. The following URL http://hostname/doc does not prompt for login. I don't want to add WEB-INF/web.xml under c:/doc. I am looking for a way to set up
virtual directory in the same scope of the web app so the authentication
config in web.xml will be enforced to the virtual directory too.
thanks a lot.
<Context path="/doc" docBase="c:/doc" reloadable="false"> </Context>
I have this issue too!
BTW... Is Jetty still supported as an alternative to Tomcat? Because I know how to add virtual directories using Jetty, but the JBoss documentation mentioning Jetty seems to be circa 2003.