I have configurated the context in my application.xml file with the next:
<?xml version="1.0" encoding="UTF-8"?>
In this example i am testing an ear with login page. when a type:
http://server.com:8080/example/ it shows me a directory listing (.gif,.jsp, etc) but i don't want this effect.
If i type:
http://server.com:8080/example/login.jsp functions correctly.
I want the same effect for:
http://server.com:8080/example/ and http://server.com:8080/example/login.jsp
I don't know what can be happening...
Thanks a Lot!!!
I am not sure if this is the correct way to do it but I have found a web.xml file with the lines:-
I think you can add this to your web.xml and change the welcome-file to logon.jsp instead.