Hi All,

I installed Tomcat4.0 on Win98. I could run my JSP application
successfully. I also can run servlet examples. When i tried to run my own
servlet example i'm getting the following error:

type Status report
message /WelcomeServlet
description The requested resource (/WelcomeServlet) is not available.
I saved the java file under classes directory. I included following lines
in web.xml
<servlet>
      <servlet-name>WelcomeServlet</servlet-name>
      <servlet-class>com.advjhtp1.servlets.WelcomeServlet</servlet-class>
</servlet>
   <!-- Servlet mappings -->
   <servlet-mapping>
      <servlet-name>WelcomeServlet</servlet-name>
      <url-pattern>/WelcomeServlet</url-pattern>
   </servlet-mapping>
My form tag of html file includes:
 <form action = "/advjhtp1/WelcomeServlet" method = "get">
where "advjhtp1" is my context root under webapps.
Could someone please help me where am i going wrong.
Thanks in advance

Reply via email to