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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 o ;nw;]oR  
}s i{  
struts.action.extension ?U3X,uv5J  
      The URL extension to use to determine if the request is meant for a Struts action ["]r=l  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 rm}OVL  
rfj>/?8!@  
struts.configuration lxsBXXZg  
      The org.apache.struts2.config.Configuration implementation class mFoE2?Y  
        org.apache.struts2.config.Configuration接口名 `x%( n@g  
N0`v;4gF$]  
struts.configuration.files !\D[lh}rL  
      A list of configuration files automatically loaded by Struts ;oL`fQyr  
      struts自动加载的一个配置文件列表  0Bbno9Yp  
6%N.'wf  
struts.configuration.xml.reload Lckb*/jV&  
      Whether to reload the XML configuration or not |j3fS[.$  
      是否加载xml配置(true,false) k4WUfL d  
L{XNOf3  
struts.continuations.package rO#WG}E<"  
      The package containing actions that use Rife continuations zW[fHa$m  
      含有actions的完整连续的package名称 ~%)ug3%e  
mWhQds6  
struts.custom.i18n.resources 'L$%)`;e  
      Location of additional localization properties files to load GZt+(q  
      加载附加的国际化属性文件(不包含.properties后缀) \jlem<&  
E"8cB]`|8  
struts.custom.properties H<6TN^  
      Location of additional configuration properties files to load )<Cf,R  
      加载附加的配置文件的位置 xz9x t  
yMz%s=rh  
 ! n@*6  
struts.devMode 2|Of$oMc  
      Whether Struts is in development mode or not 3eOwy~  
      是否为struts开发模式 UvwO/A\Gv  
hRKAs ]^j  
struts.dispatcher.parametersWorkaround ZcT%H*Ib]9  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic jV:Krk6T<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c -1Hxd YD  
~CTe5PX c  
struts.enable.DynamicMethodInvocation zB,Vi-)vH  
      Allows one to disable dynamic method invocation from the URL vE4ce  
        允许动态方法调用 8cN[t.S  
frsqnvm;+  
struts.freemarker.manager.classname mBb;:-5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Yfro^}f  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 qyA%_;ReMY  
^P)W/2  
struts.i18n.encoding j^ y9+W_b  
      The encoding to use for localization messages tXZE@JyuC  
      国际化信息内码 s+9q`k^  
V(/ @$&  
struts.i18n.reload 8Jnl!4  
      Whether the localization messages should automatically be reloaded /3( a'o[  
      是否国际化信息自动加载 cu)ssT  
os<YfMM<:/  
struts.locale /E(319u_  
      The default locale for the Struts application mPhrMcL  
      默认的国际化地区信息 Ab| t E5%  
ui _nvD:  
struts.mapper.class Q7<_> )e^  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5X8GR5P  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Io8h 8N-  
d#Hl3]wT  
struts.multipart.maxSize kX0hRX  
      The maximize size of a multipart request (file upload) p_ H;|m9  
      multipart请求信息的最大尺寸(文件上传用) vUlGE  
? zFeP6C  
struts.multipart.parser "t[9EbFL  
      The org.apache.struts2.dispatcher.multipart. >gQJ6q  
      MultiPartRequest parser implementation for a multipart request (file upload) }@+3QHwYU  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) N*vBu `  
'{e9Vh<x  
pb>TUKvT&  
struts.multipart.saveDir ^T^l3B[  
      The directory to use for storing uploaded files :K-05$K  
      设置存储上传文件的目录夹 U/9i'D[|{  
"4`i]vy8  
struts.objectFactory 5" 5tY  
      The com.opensymphony.xwork2.ObjectFactory implementation class %3"xn!'vf  
      com.opensymphony.xwork2.ObjectFactory接口(spring) k PuY[~i%  
pQ:7%+Om  
struts.objectFactory.spring.autoWire y;'yob  
      Whether Spring should autoWire or not i. O670D  
      是否自动绑定Spring A>C&`A=-  
_zuaImJ0o  
struts.objectFactory.spring.useClassCache `a$c6^a  
      Whether Spring should use its class cache or not . 5cL+G1k#  
      是否spring应该使用自身的cache 1R}rL#h;=  
4Z'/dI`  
struts.objectTypeDeterminer !c 3c%=W  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^`BiA'gPPC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -'q#u C  
EISgc {s  
struts.serve.static.browserCache 3I}(as{Rp  
If static content served by the Struts filter should set browser caching header properties or not O~wZU Zf  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 pfs'2AFj  
r)4GH%+?fv  
struts.serve.static $oPx2sb  
      Whether the Struts filter should serve static content or not //x^[fkNq)  
      是否struts过滤器应该提供静态内容 f1Az|h  
m'j]T/WF  
struts.tag.altSyntax fu=GgD*  
      Whether to use the alterative syntax for the tags or not <%_7%  
      是否可以用替代的语法替代tags 6\9 Zc-%  
v--Qbu  
struts.ui.templateDir <./r%3$;7  
      The directory containing UI templates 2r zOh},RS  
      UI templates的目录夹 vS@;D7ep  
PG51+#  
struts.ui.theme 9)y7K%b0  
      The default UI template theme ){D6E9  
      默认的UI template主题 JY5)^<.d  
~!t#M2Sk  
struts.url.http.port  xJ&E2Bf  
      The HTTP port used by Struts URLs RWX?B  
      设置http端口 3Ygt!  
4V6^@   
struts.url.https.port sxP1. = W  
      The HTTPS port used by Struts URLs vO?\u`vY  
      设置https端口 }|KNw*h $  
@zQ.d{  
struts.url.includeParams d ynq)lf  
      The default includeParams method to generate Struts URLs 5{PT  
      在url中产生 默认的includeParams /i[1$/*  
b6]MJ0do  
NZ|(#` X  
struts.velocity.configfile bXiOf#:''  
      The Velocity configuration file path k}0Y&cT!rU  
      velocity配置文件路径 3QD+&9{D  
qcmf*Yl:v  
struts.velocity.contexts zUQn*Cio e  
      List of Velocity context names iNlY\67sW  
      velocity的context列表 2#i*'.  
j\LJ{?;jC  
B(eC|:w[z  
struts.velocity.manager.classname \dx$G?R  
      org.apache.struts2.views.velocity.VelocityManager implementation class Ifx EM  
      org.apache.struts2.views.velocity.VelocityManager接口名 g"KH~bN  
]"wl*$N  
struts.velocity.toolboxlocation 8@)4)+e  
      The location of the Velocity toolbox #;+ABV  
      velocity工具盒的位置 '5usPD  
struts.xslt.nocache ]Yw/}GKB  
      Whether or not XSLT templates should not be cached p;x3gc;0  
      是否XSLT模版应该被缓存 "sD[P3  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八