I am using Tomcat 5

Also I have created ant utility to build my servlets and jsp pages.

I have a servlet named HelloWWW which is under src directory of 
(src created by ant)

src/vjsp/HelloWWW.java

This servlet I am mapping in web.xml file as

<servlet>
  <servlet-name>HelloWWW</servlet-name>
  <servlet-class>vjsp.HelloWWW</servlet-class>
</servlet>

<servlet-mapping>
  <servlet-name>HelloWWW</servlet-name>
  <url-pattern>/HelloWWW</url-pattern>
</servlet-mapping>

Now I am accessing this servlet using url

http://host/vjsp/HelloWWW

/vjsp is my context path. It gives me an error

resource /vjsp/HelloWWW  not found

Is there something else I have to do other than mapping servlets.


Thanks,

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to