Mercurial > dive4elements > gnv-client
diff gnv/src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java @ 961:d98d3e82118c
Add more Javadocs
gnv/trunk@1105 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 18 May 2010 10:17:51 +0000 |
parents | 1f6750f9537d |
children | 28a0628b11b0 |
line wrap: on
line diff
--- 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 <a href="mailto:tim.englich@intevation.de">Tim Englich</a> */ @@ -22,12 +23,17 @@ */ private static Logger log = null; - static { - // BasicConfigurator.configure(); - } + /** + * The id which must be used to lookup the path to the + * <code>log4j.properties</code> file which is configured + * in the <code>web.xml</code> + */ + 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;