Hi Praful,
Thank you for your suggestions. I did include those lines in web.xml, but the usual error page(of the IE) - "The page cannot be found" only comes and not my Error.jsp.
Here's the code for addRecord() of the class UserIO:
Also please take a look at my directory structure:
webapps
|
|----MyApp
|
|---WEB-INF
| |---classes (my servlets,class files here)
| |---web.xml
|
|---MyJsp(my JSP and HTML files here) I run my HTML file (that calls a JSP file) like this:
http://localhost:8080/MyApp/MyJsp/sample1.html--It works fine with the corresponding JSP getting called.
However, when I try to call a servlet, it doesn't work.
http://localhost:8080/MyApp/SomeServlet. Is my servlet file's location correct?
Regards
Nandini
[ November 07, 2003: Message edited by: Nandini Sriram ]