How to auto direct to “my web application” from “root (/)” context in JBoss?
I am using JBoss 6.0 . I have deployed my web application: myApp.ear under the web-context: " /test ". So in browser-url if I type " http://localhost:8080/test/ ", I do get my login page (myLogin.jsp). Since my WAR exists inside a EAR file, I have specified the context root in the application.xml file using a context-root element inside of the web module - i.e. <module> <web> <web-uri>myWeb.war</web-uri> <context-root>/test</context-root> </web> </module> My question is how to auto direct user to my web-app from "root context"? I mean if user types " http://localhost:8080/ ", I would expect my