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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 l|`%FB^k  
C26PQGo#$  
struts.action.extension lM C4j  
      The URL extension to use to determine if the request is meant for a Struts action u2^ oXl  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 t i)foam  
m& DDz+g  
struts.configuration B&_62`  
      The org.apache.struts2.config.Configuration implementation class `?PZvGi  
        org.apache.struts2.config.Configuration接口名 $WvI%r  
IBY3QG  
struts.configuration.files |lIkmW{  
      A list of configuration files automatically loaded by Struts ~a8J"Wh  
      struts自动加载的一个配置文件列表 XB-pOtVm  
zPU& }7  
struts.configuration.xml.reload e@s+]a8D-k  
      Whether to reload the XML configuration or not 6I(y`pJ  
      是否加载xml配置(true,false) :cop0;X:Wm  
pJ x88LfR  
struts.continuations.package |n3PznV  
      The package containing actions that use Rife continuations Re('7m h~  
      含有actions的完整连续的package名称 qtTys gv  
'8~7Ru\KyX  
struts.custom.i18n.resources . zv F!!z  
      Location of additional localization properties files to load Pv{ {zyc  
      加载附加的国际化属性文件(不包含.properties后缀) =*qu:f\y  
 B&#TbKp  
struts.custom.properties SC`.VCfc.  
      Location of additional configuration properties files to load 0O?B!Jr]RM  
      加载附加的配置文件的位置 X&h4A4#P  
w*r.QzCu,5  
b#R3=TQS8  
struts.devMode WS@b3zzN  
      Whether Struts is in development mode or not A5tY4?|  
      是否为struts开发模式 n 8Jx;j  
bp:WN  
struts.dispatcher.parametersWorkaround FGBPhH% (8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gk~.u  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "-kb=fY  
+/7UM x1  
struts.enable.DynamicMethodInvocation {%@zQ|OO0  
      Allows one to disable dynamic method invocation from the URL }-k<>~FA  
        允许动态方法调用 Lw?4xerLsb  
=L9sb!  
struts.freemarker.manager.classname 8Vv"'CU#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ' eO 4h^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 &}VGC=F;d  
r80w{[S$  
struts.i18n.encoding <O&L2E @~f  
      The encoding to use for localization messages M~;mamTP  
      国际化信息内码 ZebXcT ,41  
9k ]$MR  
struts.i18n.reload ,IxAt&kN  
      Whether the localization messages should automatically be reloaded q"'^W<i  
      是否国际化信息自动加载 zuWj@YG\.  
DIH.c7o  
struts.locale I 6a{'c(P  
      The default locale for the Struts application |]HU$Gt S  
      默认的国际化地区信息 ^Qrdh0j  
*nluK  
struts.mapper.class x SF#ys4v  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class eP|:b &  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 FD*`$.e3\  
>IC.Zt@  
struts.multipart.maxSize *j2P#et  
      The maximize size of a multipart request (file upload) EYd`qk 3  
      multipart请求信息的最大尺寸(文件上传用) BS>|M}G)r  
bgqN&J)Jr)  
struts.multipart.parser QS,IM >Nr  
      The org.apache.struts2.dispatcher.multipart. \CM(  
      MultiPartRequest parser implementation for a multipart request (file upload) (ta!4h,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `&b 8wF  
V"*|`z)  
 W *0XV  
struts.multipart.saveDir j./3)  
      The directory to use for storing uploaded files g4&zBn  
      设置存储上传文件的目录夹 X{o.mN  
Am%zEt$c  
struts.objectFactory ~ d^+yR-  
      The com.opensymphony.xwork2.ObjectFactory implementation class Zaf].R  
      com.opensymphony.xwork2.ObjectFactory接口(spring) >5#`j+8=q  
Il%LI   
struts.objectFactory.spring.autoWire NwoBM6 #  
      Whether Spring should autoWire or not ++F #Z(p  
      是否自动绑定Spring 7m{ 'V`F  
2[LT!TT  
struts.objectFactory.spring.useClassCache [#$-kd~  
      Whether Spring should use its class cache or not THWT\3~,  
      是否spring应该使用自身的cache =|bM|8,  
1`r 4  
struts.objectTypeDeterminer [Pi8gj*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @>B#2t&  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;hJTJMA6/6  
)}hp[*C  
struts.serve.static.browserCache ^IOf%  
If static content served by the Struts filter should set browser caching header properties or not sb Z)z#Tr  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \/la`D  
`QXO+'j4  
struts.serve.static t8\F7F P  
      Whether the Struts filter should serve static content or not )\l}i%L:  
      是否struts过滤器应该提供静态内容 gpVZZ:~  
Yvs)H'n=  
struts.tag.altSyntax *oL?R2#7  
      Whether to use the alterative syntax for the tags or not vXLiYWo  
      是否可以用替代的语法替代tags 63QMv[`,  
v#@"Evh7  
struts.ui.templateDir T|Sz~nO}f  
      The directory containing UI templates Uc>kCBCd  
      UI templates的目录夹 ,>V|%tD'  
g+t-<D"L5  
struts.ui.theme ]C3{ _?=  
      The default UI template theme /+.Bc(`  
      默认的UI template主题 ]Vo;ZY_\  
4 FW~Y  
struts.url.http.port %N7b XKDP  
      The HTTP port used by Struts URLs v*<hE>J0  
      设置http端口 y!u)q3J0&  
"yXKu)_  
struts.url.https.port lPSyFb"  
      The HTTPS port used by Struts URLs d+rrb>-OU  
      设置https端口 =21$U[  
H ifKa/}P8  
struts.url.includeParams qxf!]jm  
      The default includeParams method to generate Struts URLs EeG7 %S 5(  
      在url中产生 默认的includeParams & V^ Z  
H)}>&Z4  
cKdn3 2Y4  
struts.velocity.configfile [5e}A&  
      The Velocity configuration file path !'wh hi  
      velocity配置文件路径 D)U 9xA)J  
g&!UaJ[#9  
struts.velocity.contexts Hdw;=]-  
      List of Velocity context names C=IT`iom1C  
      velocity的context列表 &YGd!Q  
;e4 15T  
9+ nB;vA  
struts.velocity.manager.classname Ci4`,  
      org.apache.struts2.views.velocity.VelocityManager implementation class d&4 ve Lu  
      org.apache.struts2.views.velocity.VelocityManager接口名 M(KsLu1   
fz\C$[+u  
struts.velocity.toolboxlocation K#_&}C^-jY  
      The location of the Velocity toolbox <{ GpAf8-  
      velocity工具盒的位置 SE.r 'J0  
struts.xslt.nocache KiAWr-~gJ  
      Whether or not XSLT templates should not be cached kfr' P u  
      是否XSLT模版应该被缓存 E;/WP!/.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五