From 0b5661c572b4496281684195a4c609009e47e108 Mon Sep 17 00:00:00 2001 From: idfx Date: Fri, 5 Sep 2003 20:17:36 +0000 Subject: [PATCH] let us start using struts --- etc/struts-config.xml | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++ etc/web.xml | 74 +++++++++++++++++---------------------- 2 files changed, 129 insertions(+), 42 deletions(-) create mode 100755 etc/struts-config.xml diff --git a/etc/struts-config.xml b/etc/struts-config.xml new file mode 100755 index 00000000..4b946194 --- /dev/null +++ b/etc/struts-config.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/web.xml b/etc/web.xml index 42b57983..db47a25b 100755 --- a/etc/web.xml +++ b/etc/web.xml @@ -1,10 +1,30 @@ + PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3 //EN" + "http://java.sun.com/dtd/web-app_2_3.dtd"> + + + presentation + mir.core.ui.servlet.TemplateServlet + + + presentation + *.shtml + + + + action + org.apache.struts.action.ActionServlet + + config + /WEB-INF/etc/struts-config.xml + + 1 + + Mir @@ -62,6 +82,15 @@ /servlet/OpenMir + + authentication + mir.core.ui.filter.AuthenticationFilter + + + + authentication + presentation + mp3 @@ -126,43 +155,4 @@ application/pdf - - - - Protected Area - - /jsp/security/protected/* - - DELETE - GET - POST - PUT - - - - tomcat - role1 - - - - - - - - - FORM - Example Form-Based Authentication Area - - /jsp/security/login/login.jsp - /jsp/security/login/error.jsp - - - - + \ No newline at end of file -- 2.11.0