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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @62Mk},9 c  
)Qvk*9OS  
struts.action.extension %D[0nt|X  
      The URL extension to use to determine if the request is meant for a Struts action 5>TK^1 :  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \!ej<T+JR>  
^53r/V}%  
struts.configuration nakYn  
      The org.apache.struts2.config.Configuration implementation class ERN>don2  
        org.apache.struts2.config.Configuration接口名 wT{nu[=GH*  
LWt&3  
struts.configuration.files /Js7`r=Rx  
      A list of configuration files automatically loaded by Struts CH<E,Z C1T  
      struts自动加载的一个配置文件列表 b?'yAXk  
-xP!"  
struts.configuration.xml.reload 4f;HQ-Iv  
      Whether to reload the XML configuration or not NhYLt w^u  
      是否加载xml配置(true,false) Q6r7.pk"SU  
Ct%x&m:  
struts.continuations.package G2FXrkU  
      The package containing actions that use Rife continuations J^g!++|2P  
      含有actions的完整连续的package名称 |.3DD"*  
T|6a("RL  
struts.custom.i18n.resources &sd}ulEg`  
      Location of additional localization properties files to load G}G#i`6o  
      加载附加的国际化属性文件(不包含.properties后缀) W='> :H  
U,.![TP  
struts.custom.properties n9xAPB }  
      Location of additional configuration properties files to load tmtT (  
      加载附加的配置文件的位置 ::/j$bL  
vZBc !AW  
L5\WpM=  
struts.devMode IOV(seEY  
      Whether Struts is in development mode or not ]S5JUAGkE*  
      是否为struts开发模式 y?q*WUh  
$81*^  
struts.dispatcher.parametersWorkaround )d>!"JB-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic L:'J Bhg  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5hy""i  
J`^I./  
struts.enable.DynamicMethodInvocation ,xxR\}  
      Allows one to disable dynamic method invocation from the URL 9\DQ>V TQ  
        允许动态方法调用 `9b7>Nn<  
fP `b>]N_  
struts.freemarker.manager.classname I2nhqJy^  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class I'0@viF"Nx  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 'u1?tQ=gmk  
Ez-[ )44/  
struts.i18n.encoding 2]ape !(  
      The encoding to use for localization messages >cCR2j,r  
      国际化信息内码 go<W( ,O  
..R-Ms)k=  
struts.i18n.reload [bk?!0]aV  
      Whether the localization messages should automatically be reloaded KFwzy U"  
      是否国际化信息自动加载 yu/`h5&*  
|1>*;\o-  
struts.locale JC3m.)/  
      The default locale for the Struts application >L 0_dvr  
      默认的国际化地区信息 h^o{@/2  
<z!CDg4  
struts.mapper.class [n$BRk|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class UQI]>#_/v  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 fOMW"myQ  
9b*nLyYVz  
struts.multipart.maxSize Z KckAz\#  
      The maximize size of a multipart request (file upload) 2j[&=R/.  
      multipart请求信息的最大尺寸(文件上传用) ~7zGI\= P@  
_&b4aW9<  
struts.multipart.parser 4sT88lG4n  
      The org.apache.struts2.dispatcher.multipart. HZf/CE9T  
      MultiPartRequest parser implementation for a multipart request (file upload) '4#}e[e  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) jYhB +|  
jWE :ek*  
TTTPxO,  
struts.multipart.saveDir ?C A,  
      The directory to use for storing uploaded files 8Bjib&im  
      设置存储上传文件的目录夹 c. 2).Jt,  
&@yo;kB  
struts.objectFactory *=*AAF  
      The com.opensymphony.xwork2.ObjectFactory implementation class z21|Dhiw&  
      com.opensymphony.xwork2.ObjectFactory接口(spring) /Bm( `T  
#Q`dku%V:  
struts.objectFactory.spring.autoWire >b{q.  
      Whether Spring should autoWire or not %eO0w a$a  
      是否自动绑定Spring ]3 l9:|  
k>g _Z`%<  
struts.objectFactory.spring.useClassCache !GNBDRr  
      Whether Spring should use its class cache or not EG=Sl~~o  
      是否spring应该使用自身的cache H,u<|UMM_  
 D 'Zt  
struts.objectTypeDeterminer { >)#HD  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class G8Y<1%`<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^i} L-QR  
yLQ*"sw\  
struts.serve.static.browserCache x-?Sn' m  
If static content served by the Struts filter should set browser caching header properties or not Cy=Hy@C  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 rMhB9zB1  
pxh"B\"4*  
struts.serve.static bq:(u4 3  
      Whether the Struts filter should serve static content or not I\$X/t +dH  
      是否struts过滤器应该提供静态内容 cbT7CG  
Tap.5jHL  
struts.tag.altSyntax h9G RI  
      Whether to use the alterative syntax for the tags or not MfWyc_  
      是否可以用替代的语法替代tags (j3xAA  
YS*9t Q{  
struts.ui.templateDir -3=#u_  
      The directory containing UI templates ?qWfup\S  
      UI templates的目录夹 @6]sNm  
L$E{ycn  
struts.ui.theme 8Hn|cf0  
      The default UI template theme #kaY0M  
      默认的UI template主题 @dPTk"P  
y3o25}"  
struts.url.http.port io{@^1ab  
      The HTTP port used by Struts URLs Qh'ATo  
      设置http端口 1NgCw\  
9vvx*rD  
struts.url.https.port Pf\D-1gi  
      The HTTPS port used by Struts URLs Nbi.\  
      设置https端口 k@3Q|na  
283F)T\Rv  
struts.url.includeParams s pp f  
      The default includeParams method to generate Struts URLs ~2QR{; XQ  
      在url中产生 默认的includeParams O4V.11FnW  
KQg]0y d  
<BMXCk  
struts.velocity.configfile 9E"vN  
      The Velocity configuration file path O%5 r[  
      velocity配置文件路径 &N\jG373  
qfMo7e@6*  
struts.velocity.contexts [8*jw'W|[  
      List of Velocity context names ^!<BQP7  
      velocity的context列表 L"4mL,  
^5h]Y;tx  
;E3>ay6m8  
struts.velocity.manager.classname :lPb.UCY  
      org.apache.struts2.views.velocity.VelocityManager implementation class w.YiO5|y  
      org.apache.struts2.views.velocity.VelocityManager接口名 #x 177I\  
A Sk|A!  
struts.velocity.toolboxlocation nwF2aRNV  
      The location of the Velocity toolbox @c;|G$E@3  
      velocity工具盒的位置 J:V6  
struts.xslt.nocache 5',8 ziJQ  
      Whether or not XSLT templates should not be cached )W;o<:x3  
      是否XSLT模版应该被缓存 4;0lvDD  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五