Here is one way to accomplish this. First remove the current default app at server/xxx/deploy/jboss-web.deployer/ROOT.war (remove the whole directory). Second, add a jboss-web.xml file to your web app's WEB-INF directory and put the following it it:
<?xml version="1.0" encoding="UTF-8"?> <jboss-web> <context-root>/</context-root> </jboss-web>
thank you peterj
am using jbossAS4.2 for my web application. i want to load my application default. now i just redirect from Root.war/Web-inf/web.xml. it works like
here mytest is my folder name. i want exact like http://www.mytest.com.
i tried jboss-web.xml way, it creates path problem.
can anybody helps me regarding this issue?