2009-09-25

WEBAPPS directory structure

WEPAPPS is the directory that keep all the JSP files and JAVA files, and the place where people will get into when they are accessing Apache Tomcat. Inside WEBAPPS directory, each sub directory represents a sub directory in the URL, for example a sub directory named subdir represents www.gnokproject.com/subdir. Except for one directory called ROOT which represents the root directory www.gnokproject.com.

Inside each sub directory will have a directory called WEB-INF which contain:

  1. classes directory: keep the JAVA source files which will be auto compiled by Tomcat when the classes are needed.
  2. jsp directory: keep the TLD files or the tag library files.
  3. lib directory: keep the JAR files.
  4. web.xml: configuration files of that particular directory.

0 comments: