3 Replies Latest reply on May 31, 2005 9:23 AM by khalidhajsaleh

    help! requested resource is not available.

    khalidhajsaleh

      Hi,

      My war deploys correctly without problems but when I try to access a servlet, I get a requested resource is not available.

      here is what I did:
      1- my servlet is com.example3.general.HelloWorld;
      2- my index.jsp, has a link
      a href ="servlet/test"

      3- this "servlet/test" is mapped in web.xml as follows:

      <servlet-name>HelloWorld</servlet-name>
      <servlet-class>com.example3.general.HelloWorld</servlet-class>


      <servlet-mapping>
      <servlet-name>HelloWorld</servlet-name>
      <url-pattern>/servlet/test</url-pattern>
      </servlet-mapping>

      4- the context root in my application.xml
      <context-root>/example3</context-root>

      5- the war file is example3

      when I try to access the link, I get the error...please help!
      description The requested resource (/example3/servlet/test) is not available.



      thanks,

      Khalid