newscontent.xml.svn-base

来自「学习dwr+struts2+spring进行开发的好例子」· SVN-BASE 代码 · 共 55 行

SVN-BASE
55
字号
<?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="LotteryWeb_newsContent" extends="lotteryWeb-struts-default"
		namespace="/NoticeNewsDetail">
		<action name="NoticeNewsDetailList"
			class="com.szhelper.lotteryWeb.webapp.action.NoticeNewsDetailAction"
			method="list">
			<result>NoticeNewsDetailList.jsp</result>
			<result name="error">NoticeNewsDetailList.jsp</result>
		</action>
		<action name="NoticeNewsDetailEdit"
			class="com.szhelper.lotteryWeb.webapp.action.NoticeNewsDetailAction"
			method="load">
			<result>NoticeNewsDetailEdit.jsp</result>			
		</action>
		<action name="NoticeNewsDetailStore"
			class="com.szhelper.lotteryWeb.webapp.action.NoticeNewsDetailAction"
			method="store">			
			<result name="input">NoticeNewsDetailEdit.jsp</result>
			<result type="redirect">
				NoticeNewsDetailList.lotteryWeb
			</result>			
		</action>
		<action name="NoticeNewsDetailRemove"
			class="com.szhelper.lotteryWeb.webapp.action.NoticeNewsDetailAction"
			method="delete">
			<result type="redirect">
				NoticeNewsDetailList.lotteryWeb
			</result>
		</action>
		<action name="NoticeNewsDetailUpload"
			class="com.szhelper.lotteryWeb.webapp.action.NoticeNewsDetailAction"
			method="upload">
			<param name="savePath">/NoticeNewsDetail/Images</param>		
			<interceptor-ref name ="fileUpload"> 
                <param name ="allowedTypes"> 
                    image/bmp,image/png,image/gif,image/jpeg,image/jpg,image/pjpeg
                </param> 
                <param name="maximumSize">
					1024000
				</param>
            </interceptor-ref> 
            <interceptor-ref name ="mydefault"/>  
			
			<result name="input">NoticeNewsDetailEdit.jsp</result>
			<result>
				/success.html
			</result>
		</action>
	</package>
</struts>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?