Remove the fourth line in the above code it should work fine
Joined: Mar 17, 2001
Thanks Avisesh. Its working. But when I add *.jsp entry, the /simple-man is not working and vice versa. Could any body tell me a way where I need to map all jsps to a servlet and all request to a directory.
Joined: Mar 16, 2005
Why do you need to map all JSPs to a single servlet? I think your requirement is to pass the request to the same servlet from all JSPs, if that is the case then use the action parameter of the form in JSP to redirect to your servlet. See the URL mapping has to be unique u cannot map all JSPs to a single URL.