1 Reply Latest reply on Jun 3, 2006 11:19 AM by Rauf Bektashi

    Problems with j2ee application under Jboss

    Rauf Bektashi Newbie

      I have problem with my J2EE application. Problem is when jsp welcome page is calling servlet. Message is:

      HTTP Status 404 - /atmbank/atmbank/controller
      .....
      description The requested resource (/atmbank/atmbank/controller) is not available.


      It's really strange because today afternoon it was not any problem. It was working. But something happened later. And I still do not understand what happened. :-(

      My index.jsp calls servlet:

      <form action="atmbank/controller" method=post>

      web.xml:


      <servlet-name>ATMServlet</servlet-name>
      <servlet-class>atmbank.servlet.ATMServlet</servlet-class>

      <servlet-mapping>
      <servlet-name>ATMServlet</servlet-name>
      <url-pattern>/controller/*</url-pattern>
      </servlet-mapping>


      If I am calling servlet from index.htm page:
      <form action="http://localhost:8080/atmbank/controller" method=post>,

      application is working fine.

      Any idea, how I can resolve this issue?