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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 UX9r_U5)  
k>N >_{\  
struts.action.extension h7EKb-@  
      The URL extension to use to determine if the request is meant for a Struts action r dc} e"v  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Q|^TR__  
#\Q{?F!4  
struts.configuration %/86}DCfE?  
      The org.apache.struts2.config.Configuration implementation class nmLn]U=  
        org.apache.struts2.config.Configuration接口名 5K~kzR L$r  
|Bv?! sjf  
struts.configuration.files m}x&]">9  
      A list of configuration files automatically loaded by Struts | CC(`<\R  
      struts自动加载的一个配置文件列表 `@Q%}J  
~B NLzt3%O  
struts.configuration.xml.reload ?Q~6\xA  
      Whether to reload the XML configuration or not !_EaF`oh(  
      是否加载xml配置(true,false) Mbt}G|;8H7  
I1H} 5 bf3  
struts.continuations.package XYKWOrkQqa  
      The package containing actions that use Rife continuations X>n\@rTo  
      含有actions的完整连续的package名称 B"-gK20vY  
Whf7J'  
struts.custom.i18n.resources GS%i<HQ3  
      Location of additional localization properties files to load ,@_$acm  
      加载附加的国际化属性文件(不包含.properties后缀) L=. 4x=%%  
n.[0#Ur&}  
struts.custom.properties {L!w/IeX  
      Location of additional configuration properties files to load j4au Zl]NF  
      加载附加的配置文件的位置 !Cm<K*c"&E  
%'}L.OvG  
\LFRu  
struts.devMode q/o|uAq  
      Whether Struts is in development mode or not GP %83T  
      是否为struts开发模式 uc% &g  
d2Z kchf  
struts.dispatcher.parametersWorkaround Y4%Bx8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9I a4PPEH1  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +TzF*Np  
|P_\l,f8`  
struts.enable.DynamicMethodInvocation ?UXKy  
      Allows one to disable dynamic method invocation from the URL (l28,\Bel  
        允许动态方法调用 cT8`l!RD<  
qsB,yckml  
struts.freemarker.manager.classname -%&_LE9ZtS  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2V}tDN7c  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q;T3bxp+  
?fog 34g  
struts.i18n.encoding &CvNNDgrJ  
      The encoding to use for localization messages rf+'U9  
      国际化信息内码 VrF(0,-Z`3  
avR4#bfc  
struts.i18n.reload }lzyl*.  
      Whether the localization messages should automatically be reloaded {gE19J3  
      是否国际化信息自动加载 *t;'I -1w^  
:*bmc/c  
struts.locale U _~lpu  
      The default locale for the Struts application 73$^y)AvY  
      默认的国际化地区信息 Ni$WI{e9  
YfC1.8  
struts.mapper.class P@Wi^svj  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _P!J0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 `.z;.&x  
rp sq.n   
struts.multipart.maxSize 8&6h()  
      The maximize size of a multipart request (file upload) S~\i"A)4  
      multipart请求信息的最大尺寸(文件上传用) ."R,j|o6  
O a_2J#~$  
struts.multipart.parser >EFjyhVE  
      The org.apache.struts2.dispatcher.multipart. z6)SaSYE  
      MultiPartRequest parser implementation for a multipart request (file upload) &qki NS  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z!TLWX "  
Q 'R@'W9  
})Og sBk  
struts.multipart.saveDir K~A$>0c  
      The directory to use for storing uploaded files "5mdq-h(  
      设置存储上传文件的目录夹 c9\jELO  
VGoD2,(b^  
struts.objectFactory #>-_z  
      The com.opensymphony.xwork2.ObjectFactory implementation class .Od.lxz"mp  
      com.opensymphony.xwork2.ObjectFactory接口(spring) n*6b*fl  
k+>-?S,  
struts.objectFactory.spring.autoWire ] X,C9  
      Whether Spring should autoWire or not [&n2 yt  
      是否自动绑定Spring m~%\f8w-x  
}2Y:#{m  
struts.objectFactory.spring.useClassCache hKw4[wB]  
      Whether Spring should use its class cache or not 4K82%P9a  
      是否spring应该使用自身的cache R07Kure  
w/r wE  
struts.objectTypeDeterminer U2=l; R{  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,K Ebnk|i  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  Z(p kj  
}EmNSs`$r  
struts.serve.static.browserCache 6P=6E   
If static content served by the Struts filter should set browser caching header properties or not VLW<"7I 6\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0c4H2RW  
i]8HzKuiW  
struts.serve.static WL4{_X  
      Whether the Struts filter should serve static content or not f&glY`s#  
      是否struts过滤器应该提供静态内容 `;-K/)/x  
7aVQp3<  
struts.tag.altSyntax 1hj']#vBu  
      Whether to use the alterative syntax for the tags or not zhH-lMNj-  
      是否可以用替代的语法替代tags 1u&}Lq(  
w66iLQ\@  
struts.ui.templateDir @b\/\\{  
      The directory containing UI templates YaJ[39V  
      UI templates的目录夹 K!6k<  
G(F }o]  
struts.ui.theme q/,>UtRr  
      The default UI template theme 53d8AJ_@X  
      默认的UI template主题 Qvh: hkR  
v*'dA^Q  
struts.url.http.port S6gg(nNe  
      The HTTP port used by Struts URLs bX%9'O[-  
      设置http端口 7A|n*'[T>  
PSz|I8 c  
struts.url.https.port \Tf845  
      The HTTPS port used by Struts URLs 8^CdE*a  
      设置https端口 8KRm>-H)  
{)]5o| Hx  
struts.url.includeParams GGcN aW'  
      The default includeParams method to generate Struts URLs 6@?4z Rkz  
      在url中产生 默认的includeParams O,"4HZG  
( /{Wu:e  
hER]%)#r  
struts.velocity.configfile ,$ L>  
      The Velocity configuration file path )%lPa|7s  
      velocity配置文件路径 H(U`S  
4(>|f_$  
struts.velocity.contexts K^j7T[pR  
      List of Velocity context names \EF^Ag  
      velocity的context列表 4$ LVl  
G9ku(2cq  
+CL`]'~;E-  
struts.velocity.manager.classname 8SII>iL{  
      org.apache.struts2.views.velocity.VelocityManager implementation class Vo^ i7  
      org.apache.struts2.views.velocity.VelocityManager接口名 1e.V%!Xk  
,h,DB=!K<  
struts.velocity.toolboxlocation $8gj}0}eH  
      The location of the Velocity toolbox Q@gmtAp  
      velocity工具盒的位置 3B#qQ#  
struts.xslt.nocache Q[EpE,  
      Whether or not XSLT templates should not be cached c8!q_H~  
      是否XSLT模版应该被缓存 T:&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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