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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >*wF~G*k  
k2-:! IE  
struts.action.extension FFG/v`NM  
      The URL extension to use to determine if the request is meant for a Struts action CnXl 7"  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,/bSa/x`  
bG|aQ2HW  
struts.configuration odPdWV,&*  
      The org.apache.struts2.config.Configuration implementation class &'mq).I2  
        org.apache.struts2.config.Configuration接口名 eG @0:  
Ala~4_" WL  
struts.configuration.files +,g"8&>  
      A list of configuration files automatically loaded by Struts ^xNs^wC.  
      struts自动加载的一个配置文件列表 ,A{'lu  
*GGiSt  
struts.configuration.xml.reload *EB`~s  
      Whether to reload the XML configuration or not ^D}]7y|fm  
      是否加载xml配置(true,false) e@`"V,i  
cn3F3@_"\  
struts.continuations.package =*[98%b   
      The package containing actions that use Rife continuations .{=|N8*py8  
      含有actions的完整连续的package名称 id" -eMwp  
w,s++bV;L  
struts.custom.i18n.resources +L]$M)*0&  
      Location of additional localization properties files to load TV['"'D&i  
      加载附加的国际化属性文件(不包含.properties后缀) cu@i;Hb@  
4/Mi-ls_  
struts.custom.properties IAl X^6s*  
      Location of additional configuration properties files to load 1KI,/H"SY  
      加载附加的配置文件的位置 ~{xm(p  
Dp8`O4YC  
p'fD:M:  
struts.devMode J% b`*?A  
      Whether Struts is in development mode or not #Bih=A #  
      是否为struts开发模式 k$NNpv&;d  
3= q,k<=L  
struts.dispatcher.parametersWorkaround J8;lG  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic a*D])Lu[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) XMLJ X~  
\ y^Ho1Fj  
struts.enable.DynamicMethodInvocation p$:ERI  
      Allows one to disable dynamic method invocation from the URL k0/S&e,*  
        允许动态方法调用 \-h%z%{R  
MT3TWWtZ:  
struts.freemarker.manager.classname Mx]![O.ye  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class G9|w o)N  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 -aV!ZODt  
A><q-`bw  
struts.i18n.encoding l$\OSG  
      The encoding to use for localization messages P{gGvC,  
      国际化信息内码 B(zcoWQ*B  
GdlzpBl  
struts.i18n.reload h,palP6^  
      Whether the localization messages should automatically be reloaded O,c}T7A'?w  
      是否国际化信息自动加载 Z=|NoDZ  
yPmo@aw]1  
struts.locale - Mubq  
      The default locale for the Struts application 5j{jbo =!  
      默认的国际化地区信息 r2xXS&9!|  
C-:lM1  
struts.mapper.class HO`N]AMw  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class CC~:z/4,N  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 +%'!+r l  
en?J#fz  
struts.multipart.maxSize c?/R=/H  
      The maximize size of a multipart request (file upload) |n/qJIE6  
      multipart请求信息的最大尺寸(文件上传用) !%lcn O  
oLh 2:c  
struts.multipart.parser _[:>!ekx  
      The org.apache.struts2.dispatcher.multipart. "gQ-{ W  
      MultiPartRequest parser implementation for a multipart request (file upload) ]E:K8E  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3$yOv "`  
~ZuFMVR  
fp)%Cr  
struts.multipart.saveDir [J-uvxD  
      The directory to use for storing uploaded files knS(\51A  
      设置存储上传文件的目录夹 ER'zjI>t@  
{: H&2iF  
struts.objectFactory h't! 1u  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4[P]+Z5b+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) j]X $7  
tEbR/? ,GI  
struts.objectFactory.spring.autoWire NU <K+k  
      Whether Spring should autoWire or not {pR4+g  
      是否自动绑定Spring ~ 7^#.  
xaw)iC[gI{  
struts.objectFactory.spring.useClassCache |Vj@;+/j  
      Whether Spring should use its class cache or not -H+<81"B#  
      是否spring应该使用自身的cache dW4FMm>|  
p "Cxe  
struts.objectTypeDeterminer R?E< }\!  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Xk]:]pl4W  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /]@1IC{Lk  
a:V2(nY  
struts.serve.static.browserCache 2Vwv#NAV k  
If static content served by the Struts filter should set browser caching header properties or not 1!P\x=Nn_  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7/>#yR  
GX\6J]x=^2  
struts.serve.static jY|fP!?[  
      Whether the Struts filter should serve static content or not m5'nqy F  
      是否struts过滤器应该提供静态内容 .I#ss66h  
{Y7dE?!`7  
struts.tag.altSyntax ,jc')#]9B  
      Whether to use the alterative syntax for the tags or not - fx?@  
      是否可以用替代的语法替代tags Gdu5 &]H#6  
)a=58r07  
struts.ui.templateDir Ix59(g  
      The directory containing UI templates tSf$`4  
      UI templates的目录夹 :g~X"C1s  
PZ[hH(EX  
struts.ui.theme '&+5L.  
      The default UI template theme "WfVZBWG$  
      默认的UI template主题 sWKe5@-o0  
eJ"je@vvrK  
struts.url.http.port f[s|<U^  
      The HTTP port used by Struts URLs gbvMS*KQz  
      设置http端口 rFLm!J]  
wnr<# =,I'  
struts.url.https.port DN0`vl{*  
      The HTTPS port used by Struts URLs \|f3\4;!  
      设置https端口 +!JTEKHKH  
(l_/ HQ32  
struts.url.includeParams [zsUboCkc  
      The default includeParams method to generate Struts URLs =g3o@WD/G  
      在url中产生 默认的includeParams Z.$)#vM5  
BufXnMh.  
;RUod .x  
struts.velocity.configfile EU,f;H  
      The Velocity configuration file path r Y#^C  
      velocity配置文件路径 0n)99Osq(u  
vjz 'y[D  
struts.velocity.contexts AL{r/h  
      List of Velocity context names hVe39BBtO  
      velocity的context列表 ,u@Vi0  
]Dd}^khv  
ur@"wcl"V  
struts.velocity.manager.classname U'oFW@Y;h  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8ZN"-]*  
      org.apache.struts2.views.velocity.VelocityManager接口名 oQL$X3S  
s.IYPH|pn  
struts.velocity.toolboxlocation G4jyi&]  
      The location of the Velocity toolbox WFm\ bZ.  
      velocity工具盒的位置 =#so[Pd  
struts.xslt.nocache SsBiCctn  
      Whether or not XSLT templates should not be cached G 5!J9@Yi  
      是否XSLT模版应该被缓存 j#rj_uP  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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