Hi, I wrote a simple application in which posting a request from jsp to servlet. I wrote this app in WSAD 4.0.3 and work fine. I make a WAR file and when I deployed this WAR on TOMCAT and run my jsp it says it could not find my servlet file. The requested resource (/FirstProject/servlet/MyServlet) is not available. Does I need to do anything specific to servlets? Please help me. Thanks in adv. -VKG
Welcome to JavaRanch, but please take a moment to review our naming policy and change your display name to two names.
As for your question. You are using Tomcat 4.1.12, right? (never heard of 4.0.12). In 4.1.12 and all TC releases hence, the "default" servlet/* mapping is disabled. Check the web.xml file found in the conf directory.
posted 17 years ago
Thanks Mike its working....
Farmers know to never drive a tractor near a honey locust tree. But a tiny ad is okay: