I have problem with this too ... anyone?
I solved the problem. Insert the following in jboss-web.xml:
There is an easier short cut to solve this
JBoss displays the following file by default
Here is a sample
window.location.href = "/myApp/login.jsp";