hi, i have index.jsp in my root directory. to set welcome file i put below mapping in web.xml
its working properly..."http://localhost:8080/usermgmt/"
but now i have a another folder "admin" having index.jsp file. i want to display admin/index.jsp file as a welcome page for admin when i call "http://localhost:8080/usermgmt/admin/" for that i wrote below mapping...but its not working...
please correct me. thanks in advance..
milan. [ January 23, 2007: Message edited by: Milan Jagatiya ]
Note: there are no forward slashes in front of the file names.
I'm guessing that your entry was never working and that you were seeing index.jsp because your container had that listed as one of the default values. For instances, here is the welcome-file entry in the default web.xml found in Tomcat's conf directory:
[ January 24, 2007: Message edited by: Ben Souther ]