mirror of
https://github.com/apache/struts.git
synced 2026-08-06 07:06:58 +00:00
- commit missing xwork-conversion.xml for Showcase conversion example.
git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@413017 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE xwork PUBLIC
|
||||
"-//OpenSymphony Group//XWork 1.1.1//EN"
|
||||
"http://www.opensymphony.com/xwork/xwork-1.1.1.dtd">
|
||||
|
||||
<xwork>
|
||||
<include file="struts-default.xml" />
|
||||
|
||||
<package name="conversion" namespace="/conversion" extends="struts-default">
|
||||
<action name="enterPersonsInfo" method="input"
|
||||
class="org.apache.struts.action2.showcase.conversion.PersonAction">
|
||||
<result>enterPersonInfo.jsp</result>
|
||||
</action>
|
||||
<action name="submitPersonInfo" method="submit"
|
||||
class="org.apache.struts.action2.showcase.conversion.PersonAction">
|
||||
<result>showPersonInfo.jsp</result>
|
||||
<result name="input">enterPersonInfo.jsp</result>
|
||||
</action>
|
||||
<action name="showJspCode">
|
||||
<result type="plaintext">/conversion/enterPersonInfo.jsp</result>
|
||||
</action>
|
||||
<action name="showPersonActionJavaCode">
|
||||
<result type="plaintext">/conversion/PersonAction.java.txt</result>
|
||||
</action>
|
||||
<action name="showPersonJavaCode">
|
||||
<result type="plaintext">/conversion/Person.java.txt</result>
|
||||
</action>
|
||||
</package>
|
||||
</xwork>
|
||||
Reference in New Issue
Block a user