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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 w-ald?`  
e-P{)L<s5  
struts.action.extension fsPNxy"_  
      The URL extension to use to determine if the request is meant for a Struts action MYvz%7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .<>t2,Af  
#*qV kPX  
struts.configuration 6Aqv*<1=62  
      The org.apache.struts2.config.Configuration implementation class -XL? n/M  
        org.apache.struts2.config.Configuration接口名 eA2*}"W  
0J'Cx&Rg  
struts.configuration.files Zf}2c8Vc4  
      A list of configuration files automatically loaded by Struts W|@SXO)DY  
      struts自动加载的一个配置文件列表 [&*irk  
g]HWaFjc5  
struts.configuration.xml.reload T88$sD.2 '  
      Whether to reload the XML configuration or not 4 qsct@K,  
      是否加载xml配置(true,false) r9u'+$vmF  
Qx E%C  
struts.continuations.package  2=;ZJ  
      The package containing actions that use Rife continuations Gdb0e]Vt+  
      含有actions的完整连续的package名称 5)S;R,  
A\rY~$Vr  
struts.custom.i18n.resources T_c`=3aO  
      Location of additional localization properties files to load !p+rU?  
      加载附加的国际化属性文件(不包含.properties后缀) EeQ8Uxb7  
y'8T=PqY[t  
struts.custom.properties \G v\&_  
      Location of additional configuration properties files to load -u%o);B  
      加载附加的配置文件的位置 rU"AO}6\@  
\R@}X cqZ  
<ZZfN@6  
struts.devMode P;25 F  
      Whether Struts is in development mode or not ,?j!c*  
      是否为struts开发模式 k7*-v/ *S  
B^dMYFelJ  
struts.dispatcher.parametersWorkaround xC _3&.  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic N)E'k%?,  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) W%ix|R^2]  
g~K-'Nw  
struts.enable.DynamicMethodInvocation bt=D<YZk  
      Allows one to disable dynamic method invocation from the URL 8M!9gvcaO  
        允许动态方法调用 $<Gt^3e  
EB+4]MsD  
struts.freemarker.manager.classname bHSoQ \  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9<CUm"%J  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9mMQ  
C'A D[`p  
struts.i18n.encoding `{"V(YMEV  
      The encoding to use for localization messages Bq~S=bAB>R  
      国际化信息内码 :jTbzDqQ  
2ALYfZ|d  
struts.i18n.reload d:&cq8^  
      Whether the localization messages should automatically be reloaded AX@bM  
      是否国际化信息自动加载 \ :@!rM  
0W6= '7  
struts.locale 79)iv+nf\l  
      The default locale for the Struts application %`G}/"  
      默认的国际化地区信息 E"BW-<_!  
S?v;+3TG  
struts.mapper.class Gv)*[7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class su\Lxv  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 mp(:D&M  
r7U[QTM%  
struts.multipart.maxSize O&.gc p!  
      The maximize size of a multipart request (file upload) tJ d/u QJ  
      multipart请求信息的最大尺寸(文件上传用) ri"=)]  
x51p'bNy  
struts.multipart.parser !_o1;GzK  
      The org.apache.struts2.dispatcher.multipart. 2V9"{F?  
      MultiPartRequest parser implementation for a multipart request (file upload) !h1|B7N  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =hh,yi  
@&G %cW(  
bsc b  
struts.multipart.saveDir aFrZ ;_  
      The directory to use for storing uploaded files 0_>1CW+X  
      设置存储上传文件的目录夹 pDr/8HEh  
kbz+6LcV  
struts.objectFactory 2U+wiE|  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,5*<C'9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) R<h:>.M  
M _Lj5`  
struts.objectFactory.spring.autoWire uZ1G,9  
      Whether Spring should autoWire or not "[L+LPET  
      是否自动绑定Spring =%FhY^-  
_3KfY  
struts.objectFactory.spring.useClassCache IU}g[O Cu  
      Whether Spring should use its class cache or not ]tK<[8Y  
      是否spring应该使用自身的cache gavf$be  
V,tYqhQ3  
struts.objectTypeDeterminer w~9Y=|YI7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [9CBTS r  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4%jSqT@  
v>Kv!OY:c  
struts.serve.static.browserCache ir )~T0  
If static content served by the Struts filter should set browser caching header properties or not Vc|QW  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Mm"0Ip2"  
+{ e2TY  
struts.serve.static G"<} s mB  
      Whether the Struts filter should serve static content or not ~|wh/]{b9  
      是否struts过滤器应该提供静态内容 Xdf;'|HO  
%8% 0l*n'  
struts.tag.altSyntax _32 o7}!x  
      Whether to use the alterative syntax for the tags or not !| GD8i  
      是否可以用替代的语法替代tags =WFG[~8  
#)%dG3)e  
struts.ui.templateDir +N:M;uTS  
      The directory containing UI templates y7 W7270)  
      UI templates的目录夹 PsS8b  
zv\T;_  
struts.ui.theme y=y#*yn&  
      The default UI template theme kvt"7;(  
      默认的UI template主题 (TGG?V  
[*=UH* :'N  
struts.url.http.port 0 s%{m<  
      The HTTP port used by Struts URLs Fmrl*tr  
      设置http端口 \%;5$ovV  
Q S.w#"X[  
struts.url.https.port ^w}BXVn  
      The HTTPS port used by Struts URLs UbwD2>  
      设置https端口 W(*?rA-PP  
Y5Z<uD  
struts.url.includeParams z6Yx )qBE<  
      The default includeParams method to generate Struts URLs ];}7 %3  
      在url中产生 默认的includeParams #J c)v0_  
pB]+c%\  
Je~Ybh  
struts.velocity.configfile ZEU/6.  
      The Velocity configuration file path G?{uR6s>#  
      velocity配置文件路径 ..ht)Gex  
bU"2D.k  
struts.velocity.contexts a<Pt m(,  
      List of Velocity context names jP"='6Vrw  
      velocity的context列表 )VR/a  
W\yaovAt  
=_dqoAF  
struts.velocity.manager.classname %MUwd@,  
      org.apache.struts2.views.velocity.VelocityManager implementation class (V+iJ_1g{  
      org.apache.struts2.views.velocity.VelocityManager接口名 +D+Rf,D  
w=75?3c7F  
struts.velocity.toolboxlocation 2SVJKX_V+  
      The location of the Velocity toolbox z2A1h!Me  
      velocity工具盒的位置 7(= 09z  
struts.xslt.nocache K~>ESMZ5  
      Whether or not XSLT templates should not be cached XFN4m #  
      是否XSLT模版应该被缓存 V\o& {7!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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