Mercurial > dive4elements > gnv-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
960:c3d628c2c4c3 | 961:d98d3e82118c |
---|---|
1 package de.intevation.gnv.servlet; | 1 package de.intevation.gnv.servlet; |
2 | |
3 import de.intevation.gnv.propertiesreader.PropertiesReaderFactory; | |
4 | 2 |
5 import javax.servlet.ServletConfig; | 3 import javax.servlet.ServletConfig; |
6 import javax.servlet.ServletException; | 4 import javax.servlet.ServletException; |
7 | 5 |
8 import org.apache.log4j.Logger; | 6 import org.apache.log4j.Logger; |
9 import org.apache.log4j.PropertyConfigurator; | 7 import org.apache.log4j.PropertyConfigurator; |
8 import org.apache.struts.action.ActionServlet; | |
10 | 9 |
11 import org.apache.struts.action.ActionServlet; | 10 import de.intevation.gnv.propertiesreader.PropertiesReaderFactory; |
12 | 11 |
13 /** | 12 /** |
14 * The GNV ActionServlet. | 13 * The GNV ActionServlet. |
14 * This Servelt will be used to handle all requests which are | |
15 * send to the GNV-WebClient. | |
15 * | 16 * |
16 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> | 17 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
17 */ | 18 */ |
18 public class GNVActionServlet extends ActionServlet { | 19 public class GNVActionServlet extends ActionServlet { |
19 | 20 |
20 /** | 21 /** |
21 * the logger, used to log exceptions and additonaly information | 22 * the logger, used to log exceptions and additonaly information |
22 */ | 23 */ |
23 private static Logger log = null; | 24 private static Logger log = null; |
24 | 25 |
25 static { | 26 /** |
26 // BasicConfigurator.configure(); | 27 * The id which must be used to lookup the path to the |
27 } | 28 * <code>log4j.properties</code> file which is configured |
29 * in the <code>web.xml</code> | |
30 */ | |
31 private final static String LOGGINIG_CONFIG_FILE_ID = "de.intevation.gnv." + | |
32 "servlet.log4j.configuration"; | |
28 | 33 |
29 static String LOGGINIG_CONFIG_FILE_ID = "de.intevation.gnv.servlet.log4j.configuration"; | 34 /** |
30 | 35 * The UID of this class. |
36 */ | |
31 private static final long serialVersionUID = 3597396283436383943L; | 37 private static final long serialVersionUID = 3597396283436383943L; |
32 | 38 |
33 | 39 |
34 @Override | 40 @Override |
35 public void init(ServletConfig config) throws ServletException { | 41 public void init(ServletConfig config) throws ServletException { |