Thanks a lot for the response Frits. Actually when I restarted tomcat, everything was all set!
But I have a different problem here..
This time I have got the below code in web.xml for the webapp "mapping":
and I just have "testPage.jsp" in the context root for the webapp.
was thinking that if I use the request "http://localhost:8080/mapping/test", tomcat would append "page.jsp".
The resulting request "http://localhost:8080/mapping/test/page.jsp" is mapped to "/testPage.jsp" in the DD.
So I think I could access "testPage.jsp" that way.
But it isn't working. I get a 404 error.
Can you tell me if I am missing something?
The "test" directory is non-existent. Is that what is wrong? I did restart tomcat this time