1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-04 06:42:20 -05:00

Replaced Servlet with ServletContextListener in webapp packaging

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@138 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2008-10-01 11:40:36 +00:00
parent bbdd1ae5d9
commit 9784c6608d

View File

@ -16,7 +16,7 @@ public class DavGatewayServletContextListener implements ServletContextListener
public void contextInitialized(ServletContextEvent event) {
InputStream settingInputStream = null;
try {
settingInputStream = DavGatewayServlet.class.getClassLoader().getResourceAsStream("davmail.properties");
settingInputStream = DavGatewayServletContextListener.class.getClassLoader().getResourceAsStream("davmail.properties");
Settings.load(settingInputStream);
DavGateway.start();
} catch (IOException e) {