# HG changeset patch # User Tim Englich # Date 1274177871 0 # Node ID d98d3e82118ce445b319e2e6b77973c388f6e842 # Parent c3d628c2c4c3c84abc351988bf6934d3ecf2dffc Add more Javadocs gnv/trunk@1105 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r c3d628c2c4c3 -r d98d3e82118c gnv/ChangeLog --- a/gnv/ChangeLog Tue May 18 10:08:57 2010 +0000 +++ b/gnv/ChangeLog Tue May 18 10:17:51 2010 +0000 @@ -1,3 +1,9 @@ +2010-05-18 Tim Englich + + * src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java, + src/main/java/de/intevation/gnv/servlet/package.html: + Added more Javadocs. Did some Codeformatting. + 2010-05-18 Tim Englich * src/main/java/de/intevation/gnv/propertiesreader/package.html, diff -r c3d628c2c4c3 -r d98d3e82118c gnv/src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java --- a/gnv/src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java Tue May 18 10:08:57 2010 +0000 +++ b/gnv/src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java Tue May 18 10:17:51 2010 +0000 @@ -1,17 +1,18 @@ package de.intevation.gnv.servlet; -import de.intevation.gnv.propertiesreader.PropertiesReaderFactory; - import javax.servlet.ServletConfig; import javax.servlet.ServletException; import org.apache.log4j.Logger; import org.apache.log4j.PropertyConfigurator; +import org.apache.struts.action.ActionServlet; -import org.apache.struts.action.ActionServlet; +import de.intevation.gnv.propertiesreader.PropertiesReaderFactory; /** * The GNV ActionServlet. + * This Servelt will be used to handle all requests which are + * send to the GNV-WebClient. * * @author Tim Englich */ @@ -22,12 +23,17 @@ */ private static Logger log = null; - static { - // BasicConfigurator.configure(); - } + /** + * The id which must be used to lookup the path to the + * log4j.properties file which is configured + * in the web.xml + */ + private final static String LOGGINIG_CONFIG_FILE_ID = "de.intevation.gnv." + + "servlet.log4j.configuration"; - static String LOGGINIG_CONFIG_FILE_ID = "de.intevation.gnv.servlet.log4j.configuration"; - + /** + * The UID of this class. + */ private static final long serialVersionUID = 3597396283436383943L; diff -r c3d628c2c4c3 -r d98d3e82118c gnv/src/main/java/de/intevation/gnv/servlet/package.html --- a/gnv/src/main/java/de/intevation/gnv/servlet/package.html Tue May 18 10:08:57 2010 +0000 +++ b/gnv/src/main/java/de/intevation/gnv/servlet/package.html Tue May 18 10:17:51 2010 +0000 @@ -3,6 +3,7 @@ -DOCUMENT ME! +This package provides the Servlet which will be used to handle +all requests which are send to the GNV-WebClient.