2 Replies Latest reply on Aug 30, 2002 8:36 AM by adrian.brock

    Simple JSP/Servlet Template structure?

    mkithany

      Hi JBosses!

      I have following directory structure

      /jboss
      /catalina
      /webapps
      /gauri.ear
      /META-INF
      /application.xml
      /app1.war
      /WEB-INF
      /web.xml
      /first.jsp

      I tried to acces as http://IP_ADDRESS:8080/gauri.ear/login.jsp but the page is not responding. Does anyone has any comments on this. Would appreciate your time on this.

      My application.xml file is

      <display-name>Tomcat Examples</display-name>


      <web-uri>app.war</web-uri>
      <context-root>/gauri.ear</context-root>




      and my web.xml file is:
      <web-app>

      <servlet-name>login</servlet-name>
      <servlet-class>login</servlet-class>

      </web-app>

      I also have login.java and login.class (servlets) files but do not know where to place those.

      Do I have to configure and start my Apache as well? And if yes then how?

      THANKS again for your precious time.

      Manoj G. Kithany
      manojkithany@yahoo.com