Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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>
- <constant name="struts.enable.DynamicMethodInvocation"
- value="false" />
- <constant name="struts.devMode" value="false" />
- <constant name="struts.custom.i18n.resources"
- value="ApplicationResources" />
- <package name="default" extends="struts-default">
- <action name="login"
- class="com.rainbow.struts2.action.LoginAction">
- <result name="success">/hello.jsp</result>
- <result name="error">/login.jsp</result>
- </action>
- <action name="customer" class="com.rainbow.struts2.action.CustomerAction">
- <result name="success">/success.jsp</result>
- <result name="error">/customer.jsp</result>
- </action>
- </package>
- </struts>
Advertisement
Add Comment
Please, Sign In to add comment