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!!!
Try this way ...
<?xml version="1.0"?>
<display-name>proj</display-name>
<web-uri>proj.war</web-uri>
<context-root>proj</context-root>
proj.jar