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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 FQ*4?D,A  
|nk&ir6  
struts.action.extension =P<gZ-Cm  
      The URL extension to use to determine if the request is meant for a Struts action $RuJm\f  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %}MZWf{  
x24  
struts.configuration .>Gq/[c0|  
      The org.apache.struts2.config.Configuration implementation class 5P ,{h  
        org.apache.struts2.config.Configuration接口名 l(-6pP5`  
k+f!)7_  
struts.configuration.files :[ F`tDL  
      A list of configuration files automatically loaded by Struts \`Db|D?oy  
      struts自动加载的一个配置文件列表 ?a+tL'D[  
&~29%Ns  
struts.configuration.xml.reload *Sm$FMWQ  
      Whether to reload the XML configuration or not FYFP 6ti  
      是否加载xml配置(true,false) \H!E CTI  
hyH"  
struts.continuations.package >%h_ R:  
      The package containing actions that use Rife continuations %fGS< W;  
      含有actions的完整连续的package名称 #joGIw  
ZqsI\"bj  
struts.custom.i18n.resources CLg;  
      Location of additional localization properties files to load @kK${  
      加载附加的国际化属性文件(不包含.properties后缀) vd c k  
3)^-A4~E  
struts.custom.properties TPZZln'3   
      Location of additional configuration properties files to load /d ?)  
      加载附加的配置文件的位置 rDX_$,3L  
;;pxI5  
c^S^"M|  
struts.devMode 7SE\(K=<%  
      Whether Struts is in development mode or not rhO ]4A  
      是否为struts开发模式 E)DdiB'Rh  
zRbooo{N  
struts.dispatcher.parametersWorkaround RLOB  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic L1D{LzlBti  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b*LEoQSl0V  
>:%i,K*AM  
struts.enable.DynamicMethodInvocation yd2v_  
      Allows one to disable dynamic method invocation from the URL "Sz pFw  
        允许动态方法调用 ()6)|A<^U  
aL$m  
struts.freemarker.manager.classname e; 5 n.+m  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class M:z)uLDw  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 aT$q1!U`j2  
@C{IgV  
struts.i18n.encoding 3<LG~HWST  
      The encoding to use for localization messages IT5AB?bxH  
      国际化信息内码 6?b 9~xRW  
qcEiJ}-  
struts.i18n.reload Y0:y72mK  
      Whether the localization messages should automatically be reloaded 8`XT`H  
      是否国际化信息自动加载 55 )!cw4  
B<i )je!  
struts.locale 8  !]$ljg  
      The default locale for the Struts application {y0#(8-&  
      默认的国际化地区信息 p:U9#(v)  
=PWh,lWS  
struts.mapper.class Z;M]^?  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class /.l8Jb4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 O'{UAb+-  
=G2D4>q  
struts.multipart.maxSize |q"WJQ  
      The maximize size of a multipart request (file upload) c+c3C8s*8  
      multipart请求信息的最大尺寸(文件上传用) <GC<uB |p  
w'oP{=y[  
struts.multipart.parser ) E.KB6  
      The org.apache.struts2.dispatcher.multipart. /~)vma1<  
      MultiPartRequest parser implementation for a multipart request (file upload) rs2G{a  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +e+hIMur  
u POmi F  
XP~bmh,T,  
struts.multipart.saveDir &@u;xc| v  
      The directory to use for storing uploaded files -fFM-gt^t  
      设置存储上传文件的目录夹 o6,$;-?F_  
lp3 A B  
struts.objectFactory 7K>FC T  
      The com.opensymphony.xwork2.ObjectFactory implementation class &;S.1tg  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3CK4a,]Dm  
H6X]D"Y,  
struts.objectFactory.spring.autoWire Ve#VGlI  
      Whether Spring should autoWire or not Vui5ZK  
      是否自动绑定Spring teH $hd-q  
FZ'|z8Dm  
struts.objectFactory.spring.useClassCache < ek_n;R  
      Whether Spring should use its class cache or not *jM~VTXwt  
      是否spring应该使用自身的cache Fn.wd`'0  
F#>?i}  
struts.objectTypeDeterminer ig:,:KN  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class A ^@:Ps  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 nQ 2V  
k_?xi OSh  
struts.serve.static.browserCache xtMN<4#E  
If static content served by the Struts filter should set browser caching header properties or not _Bm/v^(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L"6qS3[=  
NPy{ =#k4  
struts.serve.static y33+^  
      Whether the Struts filter should serve static content or not RO?5WJpPj  
      是否struts过滤器应该提供静态内容 ZnSDq_Uk  
VZB T'N  
struts.tag.altSyntax H'|b$rP0@  
      Whether to use the alterative syntax for the tags or not %SuEfCM  
      是否可以用替代的语法替代tags :fz&)e9  
awLN>KI]</  
struts.ui.templateDir aTF~rAne<  
      The directory containing UI templates t<s:ut)Q!  
      UI templates的目录夹 zBD ?O!  
T;K,.a8bU  
struts.ui.theme rM<|<6(L  
      The default UI template theme m-9{@kgAM?  
      默认的UI template主题 EEFM1asJf  
E/z^~;KA  
struts.url.http.port g((glr)6M  
      The HTTP port used by Struts URLs M&o@~z0  
      设置http端口 aZEi|\VU  
"Opk:;.  
struts.url.https.port GADbXp3  
      The HTTPS port used by Struts URLs \o3)\ e]o  
      设置https端口 ,tJ%t#  
dYV'<  
struts.url.includeParams S~fURn  
      The default includeParams method to generate Struts URLs ?Iy$'am]L  
      在url中产生 默认的includeParams _ #]uk&5a  
^*(*tS|M  
A.tONPi  
struts.velocity.configfile j]th6  
      The Velocity configuration file path |6/k2d{,(  
      velocity配置文件路径 5q?2?j/h  
)HbsUm#  
struts.velocity.contexts $GhdH)  
      List of Velocity context names F0h`>{1%  
      velocity的context列表 rmXxid  
;BzbWvBo  
oe,I vnt  
struts.velocity.manager.classname nI4Kuz`dF  
      org.apache.struts2.views.velocity.VelocityManager implementation class A*#.7Np!"  
      org.apache.struts2.views.velocity.VelocityManager接口名 6vp\~J  
G?$|aQ0j  
struts.velocity.toolboxlocation ?u.&BP  
      The location of the Velocity toolbox ` b a}6D  
      velocity工具盒的位置 |@#37  
struts.xslt.nocache _)s<E9t2N  
      Whether or not XSLT templates should not be cached MTJ ."e<B  
      是否XSLT模版应该被缓存 'L|& qy@  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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