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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8yE!7$Mj  
:O9P(X*  
struts.action.extension Mn]}s:v  
      The URL extension to use to determine if the request is meant for a Struts action G*i.a*9<)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?SC3Vzr  
uu}a:qrY  
struts.configuration m_Mwg  
      The org.apache.struts2.config.Configuration implementation class Z0e-W:&;kF  
        org.apache.struts2.config.Configuration接口名 O6yP qG*j  
2B HKS-J*  
struts.configuration.files W1xf2=z`)T  
      A list of configuration files automatically loaded by Struts 2Sge  
      struts自动加载的一个配置文件列表 ?VwK2w$&={  
`FUFK/7 w\  
struts.configuration.xml.reload DVObrL)znL  
      Whether to reload the XML configuration or not [J~aAB  
      是否加载xml配置(true,false) z*6$&sS\>  
ZV!R#Xv  
struts.continuations.package "@.Z#d|Y  
      The package containing actions that use Rife continuations  QTVa  
      含有actions的完整连续的package名称 3PsxOb+  
d,)}+G  
struts.custom.i18n.resources 0/ut:RV0  
      Location of additional localization properties files to load SK's!m:r=  
      加载附加的国际化属性文件(不包含.properties后缀) y0,Ft/D  
x.I][(}  
struts.custom.properties kr^0% A  
      Location of additional configuration properties files to load G9\EZ\x!  
      加载附加的配置文件的位置 cX2$kIs;  
__ 8&Jv\  
Js/N()X  
struts.devMode 6hZ.{8e0  
      Whether Struts is in development mode or not YVoao#!  
      是否为struts开发模式 ('=Z }~  
ytEQ`  
struts.dispatcher.parametersWorkaround j*XjY[  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >f>V5L%1  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) StEQ -k  
!?jK1{E3  
struts.enable.DynamicMethodInvocation 21U&Ww  
      Allows one to disable dynamic method invocation from the URL >yX/+p_  
        允许动态方法调用 -:MmSeG7gO  
$u:<x  
struts.freemarker.manager.classname $nj\\,(g  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class V]Sgx00;  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >wA+[81[  
vruD U#  
struts.i18n.encoding -(!uC +BZX  
      The encoding to use for localization messages K k7GZ  
      国际化信息内码 R6 ;jY/*#  
NN^QUB  
struts.i18n.reload "c6<zP  
      Whether the localization messages should automatically be reloaded bV_j`:MD  
      是否国际化信息自动加载 W;qP=DK2  
C?/r;  
struts.locale 8+ov(B;(  
      The default locale for the Struts application 22z1g(; @  
      默认的国际化地区信息 YNI;h%w  
yx2z%E  
struts.mapper.class C#0brCQq3  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (i\)|c/a7  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 x.ba|:5  
hqL+_| DW  
struts.multipart.maxSize 8yn4}`Nc@  
      The maximize size of a multipart request (file upload) 0 <g{ V  
      multipart请求信息的最大尺寸(文件上传用) {#N%Bq}  
E30Ln_^o  
struts.multipart.parser d,UCH  
      The org.apache.struts2.dispatcher.multipart. t ^m~  
      MultiPartRequest parser implementation for a multipart request (file upload) >Co)2d]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) " CM ucK  
opXDm\  
"e@n:N!  
struts.multipart.saveDir (Izf L1  
      The directory to use for storing uploaded files %yfE7UPS]  
      设置存储上传文件的目录夹 Y3k[~A7X  
f~q4{  
struts.objectFactory L"^OdpOs  
      The com.opensymphony.xwork2.ObjectFactory implementation class k=`$6(>Fz  
      com.opensymphony.xwork2.ObjectFactory接口(spring) s"WBw'_<<  
$C u R}g  
struts.objectFactory.spring.autoWire 6x/s|RWL1  
      Whether Spring should autoWire or not }-74 f  
      是否自动绑定Spring aZ6'|S;  
<6/= y1QC)  
struts.objectFactory.spring.useClassCache 0'`S,  
      Whether Spring should use its class cache or not 6lsEGe  
      是否spring应该使用自身的cache `Ug tvo  
$Zxt&a  
struts.objectTypeDeterminer W!91tzs:  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /D'M24  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J:AMnUOcDi  
ya.n'X14  
struts.serve.static.browserCache xz8G}Ku  
If static content served by the Struts filter should set browser caching header properties or not FIS "Z(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {rDq_^  
JGis"e  
struts.serve.static s9i|mVtm8  
      Whether the Struts filter should serve static content or not oR#Ob#&  
      是否struts过滤器应该提供静态内容 >g]ON9CGH  
Plfdr~$  
struts.tag.altSyntax N'QqJe7Z  
      Whether to use the alterative syntax for the tags or not 9,scH65x  
      是否可以用替代的语法替代tags _w>uI57U  
]ENK8bW  
struts.ui.templateDir s7l23*Czl  
      The directory containing UI templates Bd&`Xfebj  
      UI templates的目录夹 VO_dA4C}z  
gw+eM,Yp  
struts.ui.theme gfN2/TDC]P  
      The default UI template theme !zR)D|w&  
      默认的UI template主题 w#9_eq|3  
Xh}&uZ`A  
struts.url.http.port 9 I{/zKq  
      The HTTP port used by Struts URLs 8Q=ZH=SQK  
      设置http端口 ezUQ> e  
RYy,wVh}  
struts.url.https.port D:9 2\l  
      The HTTPS port used by Struts URLs Q+'nw9:;T  
      设置https端口 ,EI:gLH  
#K4*6LI  
struts.url.includeParams [Gtb+'8  
      The default includeParams method to generate Struts URLs o_$&XNC_  
      在url中产生 默认的includeParams ($8t%jVWJJ  
I]9 C_  
\f%.n]>  
struts.velocity.configfile 8EI:(NE*J  
      The Velocity configuration file path >g}G}=R~3  
      velocity配置文件路径 6pp$-uS  
RV;!05^<  
struts.velocity.contexts :$ %>4+l  
      List of Velocity context names Qnt5HSSt  
      velocity的context列表 `*_CElpP"  
Jzex]_:1~  
w7 *V^B  
struts.velocity.manager.classname )/>A6A:  
      org.apache.struts2.views.velocity.VelocityManager implementation class Q4Q pn  
      org.apache.struts2.views.velocity.VelocityManager接口名 Ur3m[07H  
T$mbk3P  
struts.velocity.toolboxlocation n_23EcSy  
      The location of the Velocity toolbox 8:dQ._#v  
      velocity工具盒的位置 q.W>4 k  
struts.xslt.nocache p$XKlg&  
      Whether or not XSLT templates should not be cached ?lKhzH.T  
      是否XSLT模版应该被缓存 i\Wdo/c-H  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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