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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 dEns|r  
g7#_a6  
struts.action.extension 5zfPh`U>1  
      The URL extension to use to determine if the request is meant for a Struts action ExV>s*y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 z_CBOJl#C!  
.#EmE'IP*  
struts.configuration :8Mp SvCV  
      The org.apache.struts2.config.Configuration implementation class AgO:"'c  
        org.apache.struts2.config.Configuration接口名 7_n@iUG2n  
M {_`X  
struts.configuration.files KYd2=P6  
      A list of configuration files automatically loaded by Struts MZ6?s(mkx  
      struts自动加载的一个配置文件列表 '9H]S Ew  
MX6;ww  
struts.configuration.xml.reload Q{V|{yV^y  
      Whether to reload the XML configuration or not T<?JL.8g_  
      是否加载xml配置(true,false) (N0G[(>  
N^CD4l  
struts.continuations.package /3'>MRzR  
      The package containing actions that use Rife continuations WZ;f3 "  
      含有actions的完整连续的package名称 $v$~.  
E.4`aJ@>d  
struts.custom.i18n.resources <wc=SMmO  
      Location of additional localization properties files to load ?,TON5Fl-  
      加载附加的国际化属性文件(不包含.properties后缀)  jats)!:  
!SKEL6~7  
struts.custom.properties @R(6w{h9  
      Location of additional configuration properties files to load / IAK'/  
      加载附加的配置文件的位置 { ~FYiX  
gey`HhZp)  
s 3Y \,9\  
struts.devMode |'b=xeH.^<  
      Whether Struts is in development mode or not "{ AS5jw  
      是否为struts开发模式 &3'II:x(  
B7_:,R.l  
struts.dispatcher.parametersWorkaround Of SYOL7o  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic HmAA?J}  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) mS0*%[S {  
R/A40i  
struts.enable.DynamicMethodInvocation q?e97a  
      Allows one to disable dynamic method invocation from the URL ?:~Y%4;  
        允许动态方法调用 }vPDCUZ  
Ri"3o  
struts.freemarker.manager.classname z9u"?vdA  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }"2 0:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 O83vPK 3  
^1Y0JQ  
struts.i18n.encoding VLkK6W.u  
      The encoding to use for localization messages ; :a7rN"(  
      国际化信息内码 +wgNuj0=*  
gBf %9F  
struts.i18n.reload {{SeD:hx  
      Whether the localization messages should automatically be reloaded l%rwJLN1  
      是否国际化信息自动加载 /t(dhz&xN  
b_z;^y~  
struts.locale y`!3Z} 7  
      The default locale for the Struts application jun>(7  
      默认的国际化地区信息 .COY%fz  
V2V^*9(wu@  
struts.mapper.class XW%!#S&;X  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class q_ykB8Ensa  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y_xPr%%A  
q;InFV3rv  
struts.multipart.maxSize wBA[L}  
      The maximize size of a multipart request (file upload) 9Psy$  
      multipart请求信息的最大尺寸(文件上传用) m+s^K{k}  
$ GL$ iA  
struts.multipart.parser KaZ$!JfT  
      The org.apache.struts2.dispatcher.multipart. P}KyT?X:  
      MultiPartRequest parser implementation for a multipart request (file upload) 2~K.m@U}!Z  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K9;pX2^z9  
8m2-fuJz  
=pF 6  
struts.multipart.saveDir #,0%g 1  
      The directory to use for storing uploaded files .UU BAyjm  
      设置存储上传文件的目录夹 oZA?}#DRl  
K\`L>B. 1  
struts.objectFactory mflH&Bx9  
      The com.opensymphony.xwork2.ObjectFactory implementation class !/BXMj,=  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^$4d'  
4M}u_}9  
struts.objectFactory.spring.autoWire HUfH/x3zj]  
      Whether Spring should autoWire or not bYYyXM  
      是否自动绑定Spring H"N o{|^<  
0~<d<a -@  
struts.objectFactory.spring.useClassCache 9axJ2J'g  
      Whether Spring should use its class cache or not k z@@/DD/9  
      是否spring应该使用自身的cache hp@g iu7  
YrS%Yvhj0  
struts.objectTypeDeterminer 0-oR { {  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `Jq ?+W  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tq8B)<(]  
2a3h m8%U  
struts.serve.static.browserCache SYOND>E  
If static content served by the Struts filter should set browser caching header properties or not l23_K7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /o*r[g7<  
BHy#g>KUF  
struts.serve.static 6HW<E~G'6  
      Whether the Struts filter should serve static content or not `i<;5s!rX  
      是否struts过滤器应该提供静态内容 j{C+`~O  
?H#]+SpOcv  
struts.tag.altSyntax 4/e-E^  
      Whether to use the alterative syntax for the tags or not HW;,XzP=  
      是否可以用替代的语法替代tags ;X[mfg\  
/8VM.fr$  
struts.ui.templateDir wyzj[PDS  
      The directory containing UI templates Eb7qM.Q] &  
      UI templates的目录夹 #(mm6dj  
s/ibj@h  
struts.ui.theme ;\DXRKR  
      The default UI template theme + G#qS1  
      默认的UI template主题 y ]xG@;4M  
6] <~0{  
struts.url.http.port A% 9TS/-p  
      The HTTP port used by Struts URLs &B1d+.+  
      设置http端口 ]rO`e N[~U  
WoHFt*e2  
struts.url.https.port {0+gPTp  
      The HTTPS port used by Struts URLs ,Drd s"H  
      设置https端口 )cNG)F  
N|EH`eu^i  
struts.url.includeParams g 7res  
      The default includeParams method to generate Struts URLs 12M&qqV  
      在url中产生 默认的includeParams rhO ]4A  
C\Qor3];  
AB'q!7NR  
struts.velocity.configfile RLOB  
      The Velocity configuration file path L1D{LzlBti  
      velocity配置文件路径 b*LEoQSl0V  
>:%i,K*AM  
struts.velocity.contexts M;V (Tf  
      List of Velocity context names s PYG?P(l  
      velocity的context列表 R?a)2jl  
7afD^H%  
+|Z1U$0g  
struts.velocity.manager.classname GJ edW   
      org.apache.struts2.views.velocity.VelocityManager implementation class ?vuM'UH-  
      org.apache.struts2.views.velocity.VelocityManager接口名 WX&Man!f  
WHk/Rg%<  
struts.velocity.toolboxlocation axW3#3#`  
      The location of the Velocity toolbox _I l/ i&  
      velocity工具盒的位置 dPwe.:  
struts.xslt.nocache 3 [: x#r  
      Whether or not XSLT templates should not be cached $=uyZTYF)}  
      是否XSLT模版应该被缓存 }A3(g$8KR  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五