Mercurial > dive4elements > river
diff flys-client/src/main/webapp/WEB-INF/web.xml @ 1370:9085cffbb7c4
Made the URL of Artifact server available via ServletContext parameter.
flys-client/trunk@3075 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 25 Oct 2011 13:41:05 +0000 |
parents | d0eb2202ffbe |
children | 96708d81eaf6 |
line wrap: on
line diff
--- a/flys-client/src/main/webapp/WEB-INF/web.xml Tue Oct 25 13:32:16 2011 +0000 +++ b/flys-client/src/main/webapp/WEB-INF/web.xml Tue Oct 25 13:41:05 2011 +0000 @@ -4,6 +4,11 @@ "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> + + <context-param> + <param-name>server-url</param-name> + <param-value>http://localhost:8181</param-value> + </context-param> <!-- Servlets --> <servlet> @@ -184,16 +189,16 @@ <servlet-class>de.intevation.flys.client.server.ChartOutputServiceImpl</servlet-class> </servlet> + <servlet> + <servlet-name>MapOutputService</servlet-name> + <servlet-class>de.intevation.flys.client.server.MapOutputServiceImpl</servlet-class> + </servlet> + <servlet-mapping> <servlet-name>MapOutputService</servlet-name> <url-pattern>/flys/map</url-pattern> </servlet-mapping> - <servlet> - <servlet-name>MapOutputService</servlet-name> - <servlet-class>de.intevation.flys.client.server.MapOutputServiceImpl</servlet-class> - </servlet> - <servlet-mapping> <servlet-name>ChartOutputService</servlet-name> <url-pattern>/flys/chart</url-pattern>