zoukankan      html  css  js  c++  java
  • SSH配置struts2.xml(1)

    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd">
    <struts>
        <!-- 默认的视图主题 -->
        <constant name="struts.ui.theme" value="simple" />
        <!-- 默认可不写 -->
        <constant name="struts.objectFactory" value="spring" />
        <!-- 配置后缀名为.do 默认为.action -->
        <constant name="struts.action.extension" value="do,action" />
        <!-- URL编码 -->
        <constant name="struts.i18n.encoding" value="UTF-8" />
    
        <package name="basepackage" extends="struts-default">
            <global-results>
                <result name="message">/WEB-INF/page/share/message.jsp</result>
                <result name="directUrl">/WEB-INF/page/share/directUrl.jsp</result>
            </global-results>
        </package>
        <include file="product.xml" />
        <include file="control.xml" />
        <include file="basestruts.xml" />
    </struts>    
  • 相关阅读:
    angular 个人零点学习
    angularjs 五大关键点
    OA项目学习总结
    oa
    时间插件
    angular js模态框
    搜索
    xianduanshu
    o-o
    paibingbuzhen
  • 原文地址:https://www.cnblogs.com/guwenren/p/2994805.html
Copyright © 2011-2022 走看看