How do I restrict users from entering the image/text files path directly in the browser. Infact I am not going to allow anyone to access any resource directly via the browser except the login page.
For Example
if I access
http://www.mysite.com/index.jsp
it will ask for login information and only then other jsp pages can be accessed.
but
http://www.mysite.com/images/logo.jpg
or
http://www.mysite.com/somejsp.jsp
images or pages will appear, but i need to restrict, how to do that in JBOSS
but
http://www.mysite.com/images/logo.jpg
or
http://www.mysite.com/somejsp.jsp
images or pages will appear, but i need to restrict, how to do that in JBOSS