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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 hL/)|N~  
.a O,8M  
struts.action.extension .{ocV#{s  
      The URL extension to use to determine if the request is meant for a Struts action jF ^~p9z  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 kpJ@M%46  
UtPLI al  
struts.configuration !}YAdZJ  
      The org.apache.struts2.config.Configuration implementation class %`>nS@1zp  
        org.apache.struts2.config.Configuration接口名 N4^-`  
m? eiIrMW  
struts.configuration.files %eX{WgH  
      A list of configuration files automatically loaded by Struts zMj#KA1  
      struts自动加载的一个配置文件列表 'Y*E<6:  
wW7eT~w  
struts.configuration.xml.reload H5DC[bZMb%  
      Whether to reload the XML configuration or not Bc+w+  
      是否加载xml配置(true,false) qaY1xPWz"  
iq8Grd L"  
struts.continuations.package {IxA)v-`  
      The package containing actions that use Rife continuations jr)1(**  
      含有actions的完整连续的package名称 (!ZM{Js%  
Huy5-[)15  
struts.custom.i18n.resources k.5u  
      Location of additional localization properties files to load }#L^!\V }  
      加载附加的国际化属性文件(不包含.properties后缀) &~8oQC-eF  
n!YKz"$  
struts.custom.properties hBS.a6u1'd  
      Location of additional configuration properties files to load 'Q|M'5'  
      加载附加的配置文件的位置 [b 6R%  
1pt%Kw*@j  
_wTOmz%|R  
struts.devMode (KFCs^x7wG  
      Whether Struts is in development mode or not C<NLE-  
      是否为struts开发模式 o C<.=2]  
\]</w5 Pi,  
struts.dispatcher.parametersWorkaround f$+,HB  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9{RB{<Se!  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S)cLW~=z  
DnC{YK  
struts.enable.DynamicMethodInvocation v4u5yy_;(  
      Allows one to disable dynamic method invocation from the URL ^Y=\#-Dd  
        允许动态方法调用 hlV=qfc  
T ? $:'XJ  
struts.freemarker.manager.classname 8B /\U'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class s8ywKTR-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 LgKaPg$  
-K q5i  
struts.i18n.encoding \#f <!R4  
      The encoding to use for localization messages UYk/v]ZA  
      国际化信息内码 ZvNJ^Xz  
/35R u}c  
struts.i18n.reload MLoYnR^  
      Whether the localization messages should automatically be reloaded G}:w@}h/  
      是否国际化信息自动加载 p~SClaR3H  
RTE8Uq36  
struts.locale RP~|PtLw_  
      The default locale for the Struts application b<a4'M  
      默认的国际化地区信息 (pY 7J  
@Fluc,Il  
struts.mapper.class + ,%&e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class B|R@5mjm  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Sx708`/Ep  
I%r{]-Obr-  
struts.multipart.maxSize JG" R\2  
      The maximize size of a multipart request (file upload) R@/"B8H  
      multipart请求信息的最大尺寸(文件上传用) 5 xppKt  
6N",- c  
struts.multipart.parser I/a/)No  
      The org.apache.struts2.dispatcher.multipart. 8D>n1b(H  
      MultiPartRequest parser implementation for a multipart request (file upload) :# .<[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) u])b,9&En  
W~zbm]  
TOkp%@9/  
struts.multipart.saveDir 2[Z,J%:0  
      The directory to use for storing uploaded files N!ls j \-  
      设置存储上传文件的目录夹 P#R R9>Q  
>64P6P;S  
struts.objectFactory Q~OxH'>>(  
      The com.opensymphony.xwork2.ObjectFactory implementation class qCljo5Tq'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) U@HK+C"M|  
v16 JgycM  
struts.objectFactory.spring.autoWire n2]/v{E;/  
      Whether Spring should autoWire or not hM;lp1l  
      是否自动绑定Spring <QA6/Ef7  
Jl5c [F  
struts.objectFactory.spring.useClassCache xCg52zkH#  
      Whether Spring should use its class cache or not ox(j^x]NC  
      是否spring应该使用自身的cache jE}33"  
pnjXf.g"O  
struts.objectTypeDeterminer C1 jHz  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /DK"QV!]s  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 qHuZcht  
v-#Q7T  
struts.serve.static.browserCache z`!XhU  
If static content served by the Struts filter should set browser caching header properties or not %K>,xiD)  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V#XppYU  
,{BaePMp  
struts.serve.static b\3Oyp>  
      Whether the Struts filter should serve static content or not ?98("T|y;  
      是否struts过滤器应该提供静态内容 ~rDZ?~%  
AfX}y+Ah  
struts.tag.altSyntax ,u+PyG7 cb  
      Whether to use the alterative syntax for the tags or not QWD'!)Zb  
      是否可以用替代的语法替代tags xD5:RE~g  
L\@I*QP  
struts.ui.templateDir UJM1VAJ0  
      The directory containing UI templates n;@bLJ$W  
      UI templates的目录夹 fDT%!  
W8ouO+wK  
struts.ui.theme U^Q:Y}^  
      The default UI template theme znxnL,-  
      默认的UI template主题 (Dw,DY9  
[<%H>S1  
struts.url.http.port >33=<~#n  
      The HTTP port used by Struts URLs |$vX<. S  
      设置http端口 {[+mpKq  
ZZHDp&lh}  
struts.url.https.port ]L9s%]o  
      The HTTPS port used by Struts URLs VHCK2}ps  
      设置https端口 np8gKV D  
|C!oxhu<  
struts.url.includeParams ^G4 P y<s  
      The default includeParams method to generate Struts URLs i.3= !6z  
      在url中产生 默认的includeParams P{wF"vf  
MUTj-1H6)  
J%x\=Sv  
struts.velocity.configfile BQ=PW|[  
      The Velocity configuration file path yzerOL  
      velocity配置文件路径 *M:B\ D  
n/SwP  
struts.velocity.contexts K_RjX>q%N  
      List of Velocity context names U*22h` S  
      velocity的context列表 ujlY! -GM  
_H j!2 '  
QR%mj*@Wle  
struts.velocity.manager.classname 2w["aVr =  
      org.apache.struts2.views.velocity.VelocityManager implementation class Nv(9N-9r  
      org.apache.struts2.views.velocity.VelocityManager接口名 NYrQ$N"  
v6>_ j L  
struts.velocity.toolboxlocation {ys=Ndo8  
      The location of the Velocity toolbox {u#;?u=|  
      velocity工具盒的位置 p-Kz-+A[  
struts.xslt.nocache / c AUl  
      Whether or not XSLT templates should not be cached DNr@u/>vB  
      是否XSLT模版应该被缓存 M luVx'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五