diff options
Diffstat (limited to 'id.server/html/proxy/WEB-INF')
-rw-r--r-- | id.server/html/proxy/WEB-INF/web.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/id.server/html/proxy/WEB-INF/web.xml b/id.server/html/proxy/WEB-INF/web.xml index 9145a48d6..ab67855c2 100644 --- a/id.server/html/proxy/WEB-INF/web.xml +++ b/id.server/html/proxy/WEB-INF/web.xml @@ -16,6 +16,25 @@ <description>Update MOA-ID Proxy configuration from the configuration file</description> <servlet-class>at.gv.egovernment.moa.id.proxy.servlet.ConfigurationServlet</servlet-class> </servlet> + + <!-- JSP servlet --> + <servlet> + <servlet-name>jspservlet</servlet-name> + <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> + </servlet> + + <!-- servlet mapping for jsp pages --> + <!-- errorpage.jsp (customizeable) --> + <servlet-mapping> + <servlet-name>jspservlet</servlet-name> + <url-pattern>/errorpage-proxy.jsp</url-pattern> + </servlet-mapping> + <!-- message-proxy.jsp (customizeable) used for non error messages (e.g. ConfigurationUpdate) --> + <servlet-mapping> + <servlet-name>jspservlet</servlet-name> + <url-pattern>/message-proxy.jsp</url-pattern> + </servlet-mapping> + <servlet-mapping> <servlet-name>ConfigurationUpdate</servlet-name> <url-pattern>/ConfigurationUpdate</url-pattern> @@ -27,6 +46,10 @@ <session-config> <session-timeout>30</session-timeout> </session-config> + <error-page> + <error-code>500</error-code> + <location>/errorpage.jsp</location> + </error-page> <security-constraint> <web-resource-collection> <web-resource-name>ConfigurationUpdate</web-resource-name> |