社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 3774阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 U3j~}H.D1  
c!u}KVH  
struts.action.extension iP? ASqo{  
      The URL extension to use to determine if the request is meant for a Struts action 5q_OuZ/6  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -C'X4C+  
c%LB|(@j{  
struts.configuration g<T`F  
      The org.apache.struts2.config.Configuration implementation class 4{pemqS*  
        org.apache.struts2.config.Configuration接口名 <% 3SI.  
I\uB"Z{9  
struts.configuration.files ?"8A^ ^  
      A list of configuration files automatically loaded by Struts WO(&<(?  
      struts自动加载的一个配置文件列表 C"Y]W-Mgg  
xjhAAM  
struts.configuration.xml.reload W6xjqNU  
      Whether to reload the XML configuration or not #L IsL  
      是否加载xml配置(true,false) k'I_,Z<,  
/E4}d =5L  
struts.continuations.package ,8"[ /@  
      The package containing actions that use Rife continuations C}P \kDM  
      含有actions的完整连续的package名称 ?'/5%f`  
ox=7N{+`J  
struts.custom.i18n.resources , w'$T)  
      Location of additional localization properties files to load ~h^}W$pO  
      加载附加的国际化属性文件(不包含.properties后缀) if!`Qid  
~j&:)a'^  
struts.custom.properties k-ex<el)#  
      Location of additional configuration properties files to load 6[2?m*BsN  
      加载附加的配置文件的位置 {|J2clL  
} Ved  
:%b2;&A[  
struts.devMode JTh =JHJ  
      Whether Struts is in development mode or not z vylL M  
      是否为struts开发模式 U1HD~  
C94UF7al  
struts.dispatcher.parametersWorkaround hHl-;%#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #HuA(``[d  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) O"^a.`27  
&P{p\v2Y  
struts.enable.DynamicMethodInvocation )< a8a@  
      Allows one to disable dynamic method invocation from the URL G* ~*2>~  
        允许动态方法调用 Is6']bYh  
^'I5]cRa  
struts.freemarker.manager.classname M7<#=pX&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @oc%4~zl  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]vkHU6d  
.f<VmUca  
struts.i18n.encoding HJ1\FO9\  
      The encoding to use for localization messages +$QL0|RL  
      国际化信息内码 '/Cz{<,  
Ce'2lo  
struts.i18n.reload .nF  
      Whether the localization messages should automatically be reloaded k q.h\[  
      是否国际化信息自动加载 vgW1hWmHJ  
l 75{JxZX  
struts.locale O-lh\9{'R  
      The default locale for the Struts application U>-#('  
      默认的国际化地区信息 yqb <<4I  
2d;xAX]  
struts.mapper.class "X(=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -QI`npsnV  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 p+sPCF  
~5!TV,>ls  
struts.multipart.maxSize ftU5 A@(T  
      The maximize size of a multipart request (file upload) Hr*Pi3dSI  
      multipart请求信息的最大尺寸(文件上传用) YB3=ij!K  
s1\BjSzk  
struts.multipart.parser M Hyl=5  
      The org.apache.struts2.dispatcher.multipart. 2-c0/?_4  
      MultiPartRequest parser implementation for a multipart request (file upload) VrE5^\k<a  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1LIV/l^}f  
ftH%, /,  
TIh zMW\/K  
struts.multipart.saveDir _%Ld E z  
      The directory to use for storing uploaded files J9=0?^v-:B  
      设置存储上传文件的目录夹 JIKxY$GS  
ZpctsCz]  
struts.objectFactory })SdaZ  
      The com.opensymphony.xwork2.ObjectFactory implementation class T_%]#M  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5 ^z ,'C  
$(L7/M  
struts.objectFactory.spring.autoWire sfPN\^k2  
      Whether Spring should autoWire or not 71&+dC  
      是否自动绑定Spring gG;W:vR}l  
to|9)\  
struts.objectFactory.spring.useClassCache RZh)0S>J  
      Whether Spring should use its class cache or not 4bzn^  
      是否spring应该使用自身的cache 4"(zi5`e  
OLup`~  
struts.objectTypeDeterminer G(\1{"!  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }~'Wz*Gm  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "}+/ 0$F  
;L%~c4`l~m  
struts.serve.static.browserCache vGHYB1=~  
If static content served by the Struts filter should set browser caching header properties or not T>%ny\?tHW  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 JsEEAM:w  
be%*0lr  
struts.serve.static VX[!Vh  
      Whether the Struts filter should serve static content or not SfL`JNi)  
      是否struts过滤器应该提供静态内容 6MNA.{Jdd  
l4reG:uYG  
struts.tag.altSyntax xi. KD  
      Whether to use the alterative syntax for the tags or not V(uRKu x  
      是否可以用替代的语法替代tags !D&MJThNy  
`80Hxp@  
struts.ui.templateDir aB!Am +g  
      The directory containing UI templates Z|S7 " ,  
      UI templates的目录夹 32P]0&_O  
&*GX:0=/>  
struts.ui.theme 5w{pX1z1  
      The default UI template theme S)|b%mVwR  
      默认的UI template主题 =T4 w:  
s;WCz  
struts.url.http.port ucPMT0k  
      The HTTP port used by Struts URLs &it/@8yH  
      设置http端口 (+ anTA=  
:Rj,'uH+h)  
struts.url.https.port {leG~[d  
      The HTTPS port used by Struts URLs aBi:S3 qk  
      设置https端口 .{Oq)^!ot  
4H)" d  
struts.url.includeParams _N';`wjDY  
      The default includeParams method to generate Struts URLs xG/qDc  
      在url中产生 默认的includeParams t+J6P)=  
Wj=ex3K3u.  
rXPx* /C  
struts.velocity.configfile VVl-cU  
      The Velocity configuration file path NWK_(=n  
      velocity配置文件路径 't.F.t  
g^UWf<xp  
struts.velocity.contexts S]=Vr%irX  
      List of Velocity context names NYvj?>[y  
      velocity的context列表 82!GM.b  
):ZumG#o  
}l!_m.#e  
struts.velocity.manager.classname 0N;d)3  
      org.apache.struts2.views.velocity.VelocityManager implementation class fEv36xb2S  
      org.apache.struts2.views.velocity.VelocityManager接口名 :ygz/L  
!T . @  
struts.velocity.toolboxlocation vGT.(:\-,  
      The location of the Velocity toolbox kk+8NwM1  
      velocity工具盒的位置 7"i*J6y*  
struts.xslt.nocache a`Z f_;$@  
      Whether or not XSLT templates should not be cached toJ&$HrE  
      是否XSLT模版应该被缓存 Pv.@Y 30  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八