<!DOCTYPE struts PUBLIC | |
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" | |
"http://struts.apache.org/dtds/struts-2.0.dtd"> | |
<struts> | |
<package name="example" namespace="/example" extends="struts-default"> | |
<action name="HelloWorld" class="example.HelloWorld"> | |
<result>/example/HelloWorld.jsp</result> | |
</action> | |
<action name="Login!*" method="{1}" class="example.Login"> | |
<result name="input">/example/Login.jsp</result> | |
<result type="redirect-action">Menu</result> | |
</action> | |
<action name="*" class="example.ExampleSupport"> | |
<result>/example/{1}.jsp</result> | |
</action> | |
<!-- Add actions here --> | |
</package> | |
</struts> |