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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 hn@08t G  
ED gag  
struts.action.extension .`eN8Dl1  
      The URL extension to use to determine if the request is meant for a Struts action S%>]q s  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 iYoMO["X  
2/^3WY1U  
struts.configuration ZLejcYS  
      The org.apache.struts2.config.Configuration implementation class ouQ T  
        org.apache.struts2.config.Configuration接口名 k4;7<j$ir  
4+8@`f>s  
struts.configuration.files g3y~bf  
      A list of configuration files automatically loaded by Struts {;1\+ f  
      struts自动加载的一个配置文件列表 tyFzSrfc  
8GUX{K  
struts.configuration.xml.reload C1)!f j=  
      Whether to reload the XML configuration or not k y7Gwc  
      是否加载xml配置(true,false) 1))8 A@,  
vk^xT  
struts.continuations.package H1 ./x6Hr  
      The package containing actions that use Rife continuations S=5o < 1  
      含有actions的完整连续的package名称 lL3U8}vn  
*g2x%aZWbG  
struts.custom.i18n.resources Jnov<+  
      Location of additional localization properties files to load d$!RZHo10V  
      加载附加的国际化属性文件(不包含.properties后缀) {EQOP]  
g) jYFfGfH  
struts.custom.properties ~$^XP.a.  
      Location of additional configuration properties files to load }Sv:`9=  
      加载附加的配置文件的位置 T0)@pt7>  
#\OA)`U  
~f98#43  
struts.devMode aW7^d'ZZ\  
      Whether Struts is in development mode or not 8l`*]1.W<  
      是否为struts开发模式 #*Ctwl,T  
4!?eRY  
struts.dispatcher.parametersWorkaround wmLs/:~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic VI86KJu  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^ Ze=uP  
q/,O\,  
struts.enable.DynamicMethodInvocation :vbW  
      Allows one to disable dynamic method invocation from the URL O\ r0bUPE  
        允许动态方法调用 ~9@UjQ^)F  
kxv1Hn"`{E  
struts.freemarker.manager.classname .ioEI sg  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xy;;zOh`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 R\[e!g*I  
XSLFPTDEc  
struts.i18n.encoding ;i+jJ4  
      The encoding to use for localization messages  b>ySv  
      国际化信息内码 z2GY:<s  
=Xr.'(U  
struts.i18n.reload KZf+MSq? B  
      Whether the localization messages should automatically be reloaded Q~Wqy~tS  
      是否国际化信息自动加载 s$j,9uRr  
WNtW|I V  
struts.locale ww1[rCh\+  
      The default locale for the Struts application ]/L0,^RI  
      默认的国际化地区信息 <e6#lFQqK  
8":Q)9;%  
struts.mapper.class SmO~,2=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K}Qa~_  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 WpvhTX  
3JR+O <3D  
struts.multipart.maxSize S f# R0SA  
      The maximize size of a multipart request (file upload) <a3 WKw  
      multipart请求信息的最大尺寸(文件上传用) t?FBG4  
R:qW;n%AF  
struts.multipart.parser H Pz+Dm  
      The org.apache.struts2.dispatcher.multipart. ~P-mC@C  
      MultiPartRequest parser implementation for a multipart request (file upload) w7L) '9  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4Z0]oI X  
G3T]`Atf  
-Q Nh  
struts.multipart.saveDir ~k5W@`"W  
      The directory to use for storing uploaded files JxU5 fe  
      设置存储上传文件的目录夹 Q7CsJzk~)  
[$UI8tV  
struts.objectFactory t]G:L}AOl  
      The com.opensymphony.xwork2.ObjectFactory implementation class X:{!n({r=  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @H8EWTZ  
s eJ^s@H5l  
struts.objectFactory.spring.autoWire {' H(g[k  
      Whether Spring should autoWire or not :ShT|n7  
      是否自动绑定Spring f|g g  
aN3;`~{9  
struts.objectFactory.spring.useClassCache ?a]mDx>xh  
      Whether Spring should use its class cache or not )4;`^]F  
      是否spring应该使用自身的cache 0"z9Q\{}  
,V}WM%Km  
struts.objectTypeDeterminer qH_Dc=~la  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K3uRs{l|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 u*9V&>o  
)+Pus~w  
struts.serve.static.browserCache u ^RxD^=L  
If static content served by the Struts filter should set browser caching header properties or not G3v5KmT  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2X&qE}%k S  
[2cD:JL  
struts.serve.static FpU>^'2]  
      Whether the Struts filter should serve static content or not j] [,J49L  
      是否struts过滤器应该提供静态内容 q@2siI~W  
f*8DCh!r"  
struts.tag.altSyntax /Z4et'Lo  
      Whether to use the alterative syntax for the tags or not ?aMOZn?  
      是否可以用替代的语法替代tags 69.NPy@  
<OPArht  
struts.ui.templateDir <#HYqR',  
      The directory containing UI templates hE-M$LmN@  
      UI templates的目录夹 /qw.p#  
QS`]  
struts.ui.theme 1h5 Akq  
      The default UI template theme C7AUsYM  
      默认的UI template主题 }(u ol  
e96k{C`j0  
struts.url.http.port gQ.Sa j $  
      The HTTP port used by Struts URLs FVBYo%Ap  
      设置http端口 x,Vr=FB  
kU`r)=1"  
struts.url.https.port 2J;g{95z  
      The HTTPS port used by Struts URLs U m+8"W  
      设置https端口 ;A[Q2(w+  
$ME)#(  
struts.url.includeParams !|>"o7  
      The default includeParams method to generate Struts URLs 0m ? )ROaJ  
      在url中产生 默认的includeParams :BT q!>s  
#e5\j\#.  
TS5Q1+hWHV  
struts.velocity.configfile @lph)A Nk  
      The Velocity configuration file path cM7[_*Ot<m  
      velocity配置文件路径 rrv%~giU  
[0 e_*  
struts.velocity.contexts [ikOb8 G#  
      List of Velocity context names xId.GWY1  
      velocity的context列表 Xha..r  
A5w6]:f2  
{VoHh_[5%  
struts.velocity.manager.classname bN@ l?w  
      org.apache.struts2.views.velocity.VelocityManager implementation class NaCy@  
      org.apache.struts2.views.velocity.VelocityManager接口名 `9.r`&T6K  
H>@+om  
struts.velocity.toolboxlocation t |oR7qa{w  
      The location of the Velocity toolbox CJI~_3+K  
      velocity工具盒的位置 W@!S%Y9  
struts.xslt.nocache ,7b[!#?8  
      Whether or not XSLT templates should not be cached OZ!^ak  
      是否XSLT模版应该被缓存 4E?Oky#}-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八