abooysen2
asked on
Remove Directory Listing and Redirect to costume Error Page
Hi
I trying to remove my directory listing on my web page.
So the full url is http://localhost:18080/WallStreetProject/logon.jsp this will take them to the logon page
but when the user try to do this http://localhost:18080/WallStreetProject/ I want to direct them to a custom page and not see the directory under my war file
I am not sure can I do this in the web.xml file
I trying to remove my directory listing on my web page.
So the full url is http://localhost:18080/WallStreetProject/logon.jsp this will take them to the logon page
but when the user try to do this http://localhost:18080/WallStreetProject/ I want to direct them to a custom page and not see the directory under my war file
I am not sure can I do this in the web.xml file
Did you try naming your custom page index.jsp ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.