4 Replies Latest reply on Apr 13, 2015 5:23 AM by Ammar Githam

    JBoss EAP 6.3 servlet url as welcome-file throws Error 404

    Ammar Githam Newbie

      Hi,

       

      My web.xml welcome file list is as:

       

      <welcome-file-list>

          <welcome-file>/Home</welcome-file>

      </welcome-file-list>

       

      <servlet>

           <servlet-name>Home</servlet-name>

           <servlet-class>com.example.HomeServlet</servlet-class>

      </servlet>


      <servlet-mapping>

           <servlet-name>Home</servlet-name>

           <url-pattern>/Home</url-pattern>

      </servlet-mapping>



      On running the app I get a 404 error on JBoss EAP 6.3.0. If I add the servlet url in the browser address bar, it displays the page correctly.


      I have this app running perfectly on Weblogic and Websphere servers.


      Any help would be appreciated.


      Thanks.