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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8 k )i-&R  
N oRPvFv  
struts.action.extension fL~@v-l#~  
      The URL extension to use to determine if the request is meant for a Struts action !g4u<7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ymb{rKkN3  
*h M5pw  
struts.configuration PVaqKCj:6W  
      The org.apache.struts2.config.Configuration implementation class 5S 4 Bz  
        org.apache.struts2.config.Configuration接口名 88On{Kk.v  
V`m9+<.1b  
struts.configuration.files <.=-9O6  
      A list of configuration files automatically loaded by Struts   bKt4  
      struts自动加载的一个配置文件列表 nLY(%):(P  
zALtG<_t  
struts.configuration.xml.reload o[%\W  
      Whether to reload the XML configuration or not ?$.JgG%Z+g  
      是否加载xml配置(true,false) :B~m^5  
?izl#?  
struts.continuations.package G=PX'dS  
      The package containing actions that use Rife continuations 3(`P x}  
      含有actions的完整连续的package名称 rGlnu.mK^  
k]rc -c-  
struts.custom.i18n.resources [Om,Q<  
      Location of additional localization properties files to load \k3EFSm  
      加载附加的国际化属性文件(不包含.properties后缀) 6t4Khiwx  
^&KpvQNW_  
struts.custom.properties C."\ a_p  
      Location of additional configuration properties files to load v}TFM  
      加载附加的配置文件的位置  {gb` %J  
CU@}{}Yl  
dWP<,Z>  
struts.devMode R$bDj >8  
      Whether Struts is in development mode or not sAS[wcOQ  
      是否为struts开发模式 ) uTFId  
\V T.bUs  
struts.dispatcher.parametersWorkaround ^s\T<;  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4{ [d '-H5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Mc{-2  
z) x.6  
struts.enable.DynamicMethodInvocation XD Q<28^  
      Allows one to disable dynamic method invocation from the URL ;KgDVq5  
        允许动态方法调用 G7%f| Y  
~\+Bb8+hpJ  
struts.freemarker.manager.classname 4"veqrC  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ` <u2 N  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @H$Sv   
6w~Cyu4Ov  
struts.i18n.encoding 1E=E ?$9sg  
      The encoding to use for localization messages x(A8FtG  
      国际化信息内码 [1e]_9)p  
=w/AJ%6  
struts.i18n.reload 8^67,I-c  
      Whether the localization messages should automatically be reloaded L_q3m-x0h  
      是否国际化信息自动加载 WAf"|  
uH)?`I\zrd  
struts.locale .'NTy R  
      The default locale for the Struts application g3f; JB   
      默认的国际化地区信息 QUDpAW  
MzH'<`;BP  
struts.mapper.class MlR ]+]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M(vX.kF  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 W;?e@}  
OZEbs 7  
struts.multipart.maxSize 9"zp>VR  
      The maximize size of a multipart request (file upload) $b)t`r+  
      multipart请求信息的最大尺寸(文件上传用) iK!FVKi}  
n`V?n  
struts.multipart.parser D!z'Y,.  
      The org.apache.struts2.dispatcher.multipart. 2I283%xr  
      MultiPartRequest parser implementation for a multipart request (file upload) mpQu:i|W  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Lngf,Of.e  
dDa&:L  
QH_Ds,oH=  
struts.multipart.saveDir v#?;PyeF  
      The directory to use for storing uploaded files k *D8IB  
      设置存储上传文件的目录夹 u4$R ZTC  
8erG](  
struts.objectFactory +J#8w h  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5fRrd;  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4s@Tn>%SP  
^SK!? M  
struts.objectFactory.spring.autoWire *c 9 S.  
      Whether Spring should autoWire or not HPg%v |  
      是否自动绑定Spring N`~f77G  
+S WtHj7e  
struts.objectFactory.spring.useClassCache {yDQncq'^  
      Whether Spring should use its class cache or not 33&l.[A"!}  
      是否spring应该使用自身的cache ~n! & ~  
11c\C Iu  
struts.objectTypeDeterminer 1Vc~Sa  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class _mJhY0Oc  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6s'n r7'0  
]E)\>Jb  
struts.serve.static.browserCache 'bsHoO  
If static content served by the Struts filter should set browser caching header properties or not = 5[%%Lf  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 nw_s :  
0f@9y  
struts.serve.static 6)BPDfU,  
      Whether the Struts filter should serve static content or not o2cc3`*8d  
      是否struts过滤器应该提供静态内容 T 2_iH=u  
?#Y:2LqPC  
struts.tag.altSyntax Xpp v  
      Whether to use the alterative syntax for the tags or not Uf MQ?(,  
      是否可以用替代的语法替代tags qoZ)"M  
?J-\}X  
struts.ui.templateDir yL),G*[p\}  
      The directory containing UI templates QN|=/c<U  
      UI templates的目录夹 mX!*|$bs  
sWB@'P:x  
struts.ui.theme eiXl"R^  
      The default UI template theme :@a0h  
      默认的UI template主题 zl| XZ  
x6*y$D^B  
struts.url.http.port ={f8s,m)P,  
      The HTTP port used by Struts URLs |3 Iug  
      设置http端口 [4aw*M1z}.  
e-OKv#]  
struts.url.https.port 1z0|uc  
      The HTTPS port used by Struts URLs kKjcW` [  
      设置https端口 iSUu3Yv,_m  
hn\d{HP  
struts.url.includeParams h-RhmQA=Iz  
      The default includeParams method to generate Struts URLs '$eJATtC  
      在url中产生 默认的includeParams {> 8?6m-  
R$66F>Jz^  
xR8.1T?8  
struts.velocity.configfile c{ +bY .J  
      The Velocity configuration file path D _ 1O4/  
      velocity配置文件路径 Ji:<eRx)  
<1B+@  
struts.velocity.contexts [^7P ]olW  
      List of Velocity context names 0S9~db  
      velocity的context列表 fFYoZ/\  
7 \[fjCg\w  
3o0ZS^#eB  
struts.velocity.manager.classname qozvNJm)  
      org.apache.struts2.views.velocity.VelocityManager implementation class {jH'W)nR  
      org.apache.struts2.views.velocity.VelocityManager接口名  UO#`Ak  
gFrNk Uqp  
struts.velocity.toolboxlocation z+{+Q9j  
      The location of the Velocity toolbox !dU$1:7  
      velocity工具盒的位置 t%J1(H  
struts.xslt.nocache }}ic{931  
      Whether or not XSLT templates should not be cached 7!h> < sx  
      是否XSLT模版应该被缓存 IF-y/]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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