2 Replies Latest reply on Dec 16, 2004 12:47 AM by heemaj

    HTTP Status 404 error

    heemaj

      Hello Friends,

      I have deployed an ear file on jboss-3.2.2(on linux).
      There is no error shown with respect to the web.xml and ejb-jar.xml etc...

      I have a simple html page :
      <!--
      <FORM ACTION="SecurityServlet1" METHOD=POST>
      User Name
      Password



      -->

      and my web.xml

      <servlet-name>SecurityServlet1</servlet-name>
      <servlet-class>SecurityServlet1</servlet-class>


      <servlet-mapping>
      <servlet-name>SecurityServlet1</servlet-name>
      <url-pattern>/securitytest</url-pattern>
      </servlet-mapping>


      But on clicking the Login button I get 404 error:

      HTTP Status 404 - /securitytest/SecurityServlet1
      type Status report
      message /securitytest/SecurityServlet1
      description The requested resource (/securitytest/SecurityServlet1) is not available.

      Could any one pls. help me out regarding the above error?

      Thanks in advance, bye
      --Heema

        • 1. Re: HTTP Status 404 error
          startech

          I think you want your url-pattern in your web-xml to be /securitytest/SecurityServlet1 instead of /securitytest

          Regards

          Tony BenBrahim

          • 2. Re: HTTP Status 404 error
            heemaj

            Thanks Tony, for ur reply.
            But I am afraid that even this is not working.
            Could u pls. pls. suggests any other tag in xml / system path settings (i guess)...because of which the error is coming.

            Thnks again for ur reply, bye
            --Heema