add file jboss-web.xml to WEB-INF,
and file content :
?xml version=1.0 encoding=UTF-8?
!DOCTYPE jboss-web PUBLIC
-//JBoss//DTD Web Application 2.4//EN
http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd;
jboss-web
context-root//context-root
/jboss-web
View the original post :
I would suggest leaving webroot where it is and simply replacing the contents.
This is easy to do from an ant script in a post-installation phase. Create the
webapp you'd like to be root, and after removing the contents of the default
jboss app, copy yours in.
View the original post :
Sorry. I'm using Ubuntu Linux
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3941664#3941664
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941664
---
Using Tomcat but