<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE struts PUBLIC | |
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" | |
"http://struts.apache.org/dtds/struts-2.0.dtd"> | |
<!-- | |
- This file is included by the struts.xml file as an example | |
- of how to break up the configuration file into multiple files. | |
--> | |
<struts> | |
<package name="example" namespace="/example" extends="struts-default"> | |
<action name="HelloWorld" class="${package}.example.HelloWorld"> | |
<result>/example/HelloWorld.jsp</result> | |
</action> | |
<action name="Login_*" method="{1}" class="${package}.example.Login"> | |
<result name="input">/example/Login.jsp</result> | |
<result type="redirectAction">Menu</result> | |
</action> | |
<action name="*" class="${package}.example.ExampleSupport"> | |
<result>/example/{1}.jsp</result> | |
</action> | |
<!-- Add additional "example" package actions here. --> | |
</package> | |
</struts> |