Here's what you could do:
- Create a page(lets say index.jsp) and mention this as the welcome page in the web.xml.
- Also make the index.jsp a restricted resource.
- This index.jsp will contain all the links (Movies, Radios etc...)
- Additionally have a login.jsp which will contain only the username and password fields.
- Let the user access the application using the URL -
http://localhost:8080/myapp or
http://localhost:8080/myapp/index.jsp
- If the user is not yet logged in, he will be redirected to login.jsp, which on
successfull login will forward him to the index.jsp containing the links. He can then
bookmark this index.jsp URL.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979044#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...