diff options
author | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2008-11-25 12:48:15 +0000 |
---|---|---|
committer | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2008-11-25 12:48:15 +0000 |
commit | ea60aae139c666c610c1af5cfd0b616d3f4a535c (patch) | |
tree | e9e1556e38d1a68a90185ed7d3074f0e2dccec04 /src/main/webapp/WEB-INF/web.xml | |
parent | 1774241bd1e38eb789609ba443d48f1122fe4819 (diff) | |
download | pdf-as-3-ea60aae139c666c610c1af5cfd0b616d3f4a535c.tar.gz pdf-as-3-ea60aae139c666c610c1af5cfd0b616d3f4a535c.tar.bz2 pdf-as-3-ea60aae139c666c610c1af5cfd0b616d3f4a535c.zip |
Preparation for multilingual support for web application.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@312 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/webapp/WEB-INF/web.xml')
-rw-r--r-- | src/main/webapp/WEB-INF/web.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 2bcbdd2..3b97dab 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -20,6 +20,11 @@ <param-value>REPLACE_WITH_PATH_TO_PDFAS_CONFIGURATION</param-value>
</context-param>
-->
+
+ <context-param>
+ <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
+ <param-value>at.gv.egiz.pdfas.web.i18n.language</param-value>
+ </context-param>
<filter>
<filter-name>sitemesh</filter-name>
@@ -80,6 +85,10 @@ <servlet-class>at.knowcenter.wag.egov.egiz.web.AsynchronousRedirectResponder</servlet-class>
</servlet>
+ <servlet>
+ <servlet-name>SetLanguage</servlet-name>
+ <servlet-class>at.gv.egiz.pdfas.web.i18n.SetLanguageServlet</servlet-class>
+ </servlet>
<servlet-mapping>
<servlet-name>Sign</servlet-name>
@@ -126,6 +135,11 @@ <url-pattern>/AsynchronousRedirectResponder</url-pattern>
</servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>SetLanguage</servlet-name>
+ <url-pattern>/SetLanguage</url-pattern>
+ </servlet-mapping>
+
<session-config>
<session-timeout>10</session-timeout>
</session-config>
|