Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/servlet/GNVActionServlet.java @ 4:72951b955f00
Basic Struts-Infrastructur Added
gnv/trunk@73 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 11 Sep 2009 15:21:58 +0000 |
parents | |
children | fe6a64545552 |
comparison
equal
deleted
inserted
replaced
3:d7b4a77ba892 | 4:72951b955f00 |
---|---|
1 /* | |
2 * | |
3 */ | |
4 package de.intevation.gnv.servlet; | |
5 | |
6 import javax.servlet.ServletConfig; | |
7 import javax.servlet.ServletException; | |
8 | |
9 import org.apache.log4j.Logger; | |
10 import org.apache.struts.action.ActionServlet; | |
11 | |
12 import de.intevation.gnv.propertiesreader.PropertiesReaderFactory; | |
13 | |
14 /** | |
15 * | |
16 * @author Tim Englich <tim.englich@intevation.de> | |
17 * | |
18 */ | |
19 public class GNVActionServlet extends ActionServlet { | |
20 /** | |
21 * the logger, used to log exceptions and additonaly information | |
22 */ | |
23 private static Logger log = Logger.getLogger(GNVActionServlet.class); | |
24 | |
25 /** | |
26 * The UID of this Class | |
27 */ | |
28 private static final long serialVersionUID = 3597396283436383943L; | |
29 | |
30 /** | |
31 * @see javax.servlet.GenericServlet#init(javax.servlet.ServletConfig) | |
32 */ | |
33 public void init(ServletConfig config) throws ServletException { | |
34 super.init(config); | |
35 log.info("PropertiesReader will be configured."); | |
36 PropertiesReaderFactory.getInstance().initPropertiesReader(config); | |
37 } | |
38 } |