I have configurated the context in my application.xml file with the next:
<?xml version="1.0" encoding="UTF-8"?>
<display-name>Test</display-name>
<web-uri>war-file</web-uri>
<context-root>/example</context-root>
ejb-file
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...
Please Help!!!
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:-
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
I think you can add this to your web.xml and change the welcome-file to logon.jsp instead.