Servlet root directory in Apache web server

Discussions

Web tier: servlets, JSP, Web frameworks: Servlet root directory in Apache web server

  1. Servlet root directory in Apache web server (1 messages)

    Hi !
    Can anyone tell me what's the default root directory for the servlet in Apache web server (in Solaris 2.7).

    Thanks
    AJP
  2. Hello,

    Apache does not have servlets within it. You will have to use a servlet engine such as Tomcat or JRun to run your servlets.

    For Tomcat, the root directory for servlets is :

    $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes

    For JSPs, it is :

    $TOMCAT_HOME/webapps/ROOT

    Regards,

    Rick