This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hai all, I am developing a web page which uses servlets and JSP. I am using Tomcat server. when I load all my JSP pages are working fine but when i call a servlet i get a error saying that the page u r requesting is unavailable. How to solve this problem. I have given all details in web.xml file also. siva.
You say : I have given all details in web.xml file also.
What are those details? Does this mean you've supplied a <servlet>, <servlet-mapping> couplet for each servlet you're deploying?
Joined: Aug 02, 2003
yes, I have given servlet-name,servlet-class,servlet-mapping etc in the web.xml file.
Author and all-around good cowpoke
Joined: Mar 22, 2000
The "invoker" servlet is a convenience thing that (In my opinion) is a disaster. You can read about it in the ../conf/web.xml file. You should not use the invoker, instead, use web.xml to create a servlet mapping from a URL to your servlet name. Bill