mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
6f23804845
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1073268 13f79535-47bb-0310-9956-ffa450edef68
26 lines
792 B
XML
26 lines
792 B
XML
<?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">
|
|
|
|
<struts>
|
|
|
|
<package name="example" namespace="/example" extends="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="redirectAction">Menu</result>
|
|
</action>
|
|
|
|
<action name="*" class="example.ExampleSupport">
|
|
<result>/example/{1}.jsp</result>
|
|
</action>
|
|
|
|
<!-- Add actions here -->
|
|
</package>
|
|
</struts>
|