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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 jJc:%h$|2  
J'4Pp<  
struts.action.extension +J [<zxh\  
      The URL extension to use to determine if the request is meant for a Struts action *ETSx{)8  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {^(h*zxn  
N=%4V  
struts.configuration GP<PU  
      The org.apache.struts2.config.Configuration implementation class [C@ |q Ah  
        org.apache.struts2.config.Configuration接口名 cCa+UTxaJ  
Z8 eB5!$  
struts.configuration.files xfegi$  
      A list of configuration files automatically loaded by Struts Y-YlQ ^  
      struts自动加载的一个配置文件列表 ,#?iu?i/  
|k,M$@5s  
struts.configuration.xml.reload 7H=V|Btnc  
      Whether to reload the XML configuration or not C6` Tck!  
      是否加载xml配置(true,false) XSOSy2:  
q# C;iK4  
struts.continuations.package )wqG^yv  
      The package containing actions that use Rife continuations ^GL>xlZ(  
      含有actions的完整连续的package名称 <dd XvUCX  
+YD_ L  
struts.custom.i18n.resources 1buVV]*~  
      Location of additional localization properties files to load "Sb<"$ :  
      加载附加的国际化属性文件(不包含.properties后缀) i0q<,VSl$_  
U,Q  
struts.custom.properties K&'Vd@  
      Location of additional configuration properties files to load u,~/oTg O  
      加载附加的配置文件的位置 z ?L]5m` H  
W6^YFN  
pE4yx5r5  
struts.devMode $ VTk0J-W  
      Whether Struts is in development mode or not r}nz )=\Cj  
      是否为struts开发模式 'f_[(o+n  
WzhY4"p  
struts.dispatcher.parametersWorkaround Bcl6n@{2f  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]iezwz`'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vX;~m7+  
IRG-H!FV  
struts.enable.DynamicMethodInvocation .dPy<6E  
      Allows one to disable dynamic method invocation from the URL +wIv|zj9  
        允许动态方法调用 2 Q}^<^r  
h?7@]&VJ  
struts.freemarker.manager.classname 1ir~WFP  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3]rd!Gp=*  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;%^T*?t  
/ LC!|-1E  
struts.i18n.encoding 0zc~!r~  
      The encoding to use for localization messages ;d<RP VE:  
      国际化信息内码 3[Z7bhpV  
6Eu"T9 (  
struts.i18n.reload Q@ghQGn#  
      Whether the localization messages should automatically be reloaded WH lvd  
      是否国际化信息自动加载 dV7~C@k6k8  
M _e^KF  
struts.locale _FxQl ]@  
      The default locale for the Struts application @+&QNI06S  
      默认的国际化地区信息 Jty/gjK+  
dOFK;  
struts.mapper.class ~]78R!HJ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class m\eYm;R Vj  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 q[ 5&  
Bhf4 /$  
struts.multipart.maxSize $.KD nl^  
      The maximize size of a multipart request (file upload) ~#PC(g  
      multipart请求信息的最大尺寸(文件上传用) a&C}' e"  
8m*uT< 5D  
struts.multipart.parser 8)V6yKGO  
      The org.apache.struts2.dispatcher.multipart. [DSD[[ z[  
      MultiPartRequest parser implementation for a multipart request (file upload) VWT\wA L  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &Ef_p-e-P  
/2Qgg`^)  
kpx2e2C|  
struts.multipart.saveDir o l8|  
      The directory to use for storing uploaded files dU.H9\p  
      设置存储上传文件的目录夹 56!/E5qgW  
fBZR  
struts.objectFactory ] :n! \G  
      The com.opensymphony.xwork2.ObjectFactory implementation class k*k 9hv?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) V)3S.*]  
%dDwus  
struts.objectFactory.spring.autoWire $zD}hO9  
      Whether Spring should autoWire or not ]}A3Pm- t*  
      是否自动绑定Spring DcX,o*ec!  
_28vf Bl?  
struts.objectFactory.spring.useClassCache -Ou@T#h"  
      Whether Spring should use its class cache or not uS&NRf9A  
      是否spring应该使用自身的cache 1zWEK]2.R  
I7} o>{  
struts.objectTypeDeterminer @DniYt/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rF)[ Sed:T  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 99u9L)  
xy Pz_9  
struts.serve.static.browserCache E;Q ,{{#  
If static content served by the Struts filter should set browser caching header properties or not /8"9 sf *  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G;yh$n<"  
+Q!  
struts.serve.static f ,WAl\  
      Whether the Struts filter should serve static content or not k \V6 q9*  
      是否struts过滤器应该提供静态内容 ylPDM7Ka  
g4NbzU[I  
struts.tag.altSyntax 3%DDN\q\u  
      Whether to use the alterative syntax for the tags or not 25 m!Bf  
      是否可以用替代的语法替代tags .vk|aIG  
kzXmiBL<9  
struts.ui.templateDir  "?(N  
      The directory containing UI templates -Gn0TA2/C  
      UI templates的目录夹 ~E*`+kD  
~CQTPR  
struts.ui.theme ~|.vz!A  
      The default UI template theme _NkbB"+L  
      默认的UI template主题 jw$[b=sa  
a534@U4,  
struts.url.http.port 7<7 /NZ<I  
      The HTTP port used by Struts URLs 3+d_5l;m)  
      设置http端口 <P#]U"?A  
 g1B[RSWv  
struts.url.https.port n2(@uT&>  
      The HTTPS port used by Struts URLs c0Oc-,6J  
      设置https端口 J-)9>~[E<  
P/;d|M(  
struts.url.includeParams |)+; d  
      The default includeParams method to generate Struts URLs +c-?1j  
      在url中产生 默认的includeParams V Mb r@9  
~.L\f%<  
+ew9%={zB  
struts.velocity.configfile L-QzC<[F/  
      The Velocity configuration file path zf}X%tp  
      velocity配置文件路径 +=&A1{kR3  
5\\a49k.p  
struts.velocity.contexts r~U/t~V=D  
      List of Velocity context names >4@/x{{  
      velocity的context列表 dyN Kok#  
Uth H  
K6X}d,g  
struts.velocity.manager.classname "Acc]CqH*  
      org.apache.struts2.views.velocity.VelocityManager implementation class NsY D~n  
      org.apache.struts2.views.velocity.VelocityManager接口名 F,'rW:{HMt  
** !  
struts.velocity.toolboxlocation /n&Y6@W  
      The location of the Velocity toolbox TqN4OkCm/  
      velocity工具盒的位置 9/_F  
struts.xslt.nocache b w2KD7  
      Whether or not XSLT templates should not be cached 1Zj NRg=  
      是否XSLT模版应该被缓存 !.}ZlA  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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