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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @7c?xQVd$  
y7cl_rK  
struts.action.extension "cGk)s  
      The URL extension to use to determine if the request is meant for a Struts action 2nObl'ec  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =J==i?  
!,uE]gwLw  
struts.configuration m~ABC#,2  
      The org.apache.struts2.config.Configuration implementation class wm@@$  
        org.apache.struts2.config.Configuration接口名 .LZ?S"z$ w  
h*a(_11  
struts.configuration.files //MUeTxR  
      A list of configuration files automatically loaded by Struts **0~K";\  
      struts自动加载的一个配置文件列表 h4}84}5d  
X`/k)N>l  
struts.configuration.xml.reload 3*bU6$|5FP  
      Whether to reload the XML configuration or not qZh/IW  
      是否加载xml配置(true,false) =*.~BG  
K3m/(jdO  
struts.continuations.package -ad{tJV|  
      The package containing actions that use Rife continuations ,Vax&n+J  
      含有actions的完整连续的package名称 }#+^{P3;  
rHI{aO7  
struts.custom.i18n.resources I,DS@SK  
      Location of additional localization properties files to load QL/(72K  
      加载附加的国际化属性文件(不包含.properties后缀) jd"@t*ZV  
cZ*@$%_  
struts.custom.properties O\tb R=  
      Location of additional configuration properties files to load T Z@]:e:"b  
      加载附加的配置文件的位置 7z,C}-q  
(E 3b\lST  
`[yKFa I  
struts.devMode #z%fx   
      Whether Struts is in development mode or not est9M*Fn  
      是否为struts开发模式 Kw^7>\  
8W7J3{d  
struts.dispatcher.parametersWorkaround !|uWH  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  }v{LRRi  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $wa{~'  
7EEl +;wK  
struts.enable.DynamicMethodInvocation LOYk9m  
      Allows one to disable dynamic method invocation from the URL G!##X: 6'  
        允许动态方法调用 C.P*#_R  
MjRHA^b  
struts.freemarker.manager.classname $HzBD.CF|x  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =XQ%t @z0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 RP|`HkP-2  
?z+eWL  
struts.i18n.encoding {YC@T(  
      The encoding to use for localization messages ]/6z; ~3U  
      国际化信息内码 1GRCV8 "Z^  
>R_&Ouh:  
struts.i18n.reload G_JA-@i%  
      Whether the localization messages should automatically be reloaded 372rbY  
      是否国际化信息自动加载 u#~RkY7s  
; 2#y7!  
struts.locale Tidn-2L73O  
      The default locale for the Struts application t?gic9 q  
      默认的国际化地区信息 T!{w~'=F  
.{^5X)  
struts.mapper.class kZ:ZtE  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class f~[7t:WD*  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 t@;p  
wlvgg  
struts.multipart.maxSize @HCVmg:  
      The maximize size of a multipart request (file upload) OT*mO&Z  
      multipart请求信息的最大尺寸(文件上传用) I{2hfKUe`  
Om@;J%u/  
struts.multipart.parser 5DZ#9m/  
      The org.apache.struts2.dispatcher.multipart. gD?l-RT>  
      MultiPartRequest parser implementation for a multipart request (file upload) uW{l(}0N  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .<FH>NW)  
7]bGc \  
b|DdG/O  
struts.multipart.saveDir 00y!K m_D  
      The directory to use for storing uploaded files w9imKVry  
      设置存储上传文件的目录夹 *^4"5X@  
n>XdU%&  
struts.objectFactory <lPG=Xt  
      The com.opensymphony.xwork2.ObjectFactory implementation class JQI: sj  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q;CiV  
A)!*]o>U  
struts.objectFactory.spring.autoWire x,- 75  
      Whether Spring should autoWire or not ioCsV  
      是否自动绑定Spring /SB;Von  
jr. "I+  
struts.objectFactory.spring.useClassCache G` A4|+W"  
      Whether Spring should use its class cache or not +'a^f5  
      是否spring应该使用自身的cache m0SlOgRsk  
d0ks G$  
struts.objectTypeDeterminer _{KG 4+5\X  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ND;#7/$>  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %> eiAB_b  
2zb"MEOS5  
struts.serve.static.browserCache j^JPZ{ej ?  
If static content served by the Struts filter should set browser caching header properties or not LRA8p<Rs  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 n84|{l581  
SnfYT)Ph  
struts.serve.static 4VSU8tK|N]  
      Whether the Struts filter should serve static content or not Sm|6 %3  
      是否struts过滤器应该提供静态内容 VA5xp]  
niyV8v  
struts.tag.altSyntax tWRC$  
      Whether to use the alterative syntax for the tags or not 9A=,E&  
      是否可以用替代的语法替代tags 4HlQ&2O%#  
M2Qr(K|  
struts.ui.templateDir (A#^l=su  
      The directory containing UI templates VONDc1%ga  
      UI templates的目录夹 eauF ~md,  
0h_|t-9j  
struts.ui.theme Y3b *a".X  
      The default UI template theme +0Y&`{#Z  
      默认的UI template主题 =H8;iS2R  
6&x@.1('z  
struts.url.http.port 7:1Lol-V  
      The HTTP port used by Struts URLs QWYJ *  
      设置http端口 m_]Y{3C  
ez$(c  
struts.url.https.port R m( "=(  
      The HTTPS port used by Struts URLs }7Q%6&IR  
      设置https端口 ga+dt  
ux4POO3C|  
struts.url.includeParams i_%_x*  
      The default includeParams method to generate Struts URLs !|(NgzDP/  
      在url中产生 默认的includeParams N6:`/f+A>T  
1+s;FJ2}  
fHFE){  
struts.velocity.configfile y6a3t G  
      The Velocity configuration file path O0.*Pmt  
      velocity配置文件路径 (9a^$C*  
4Nsp<Kn>  
struts.velocity.contexts *EH~_F  
      List of Velocity context names 1qA;/-Zr<o  
      velocity的context列表 M= (u]%\  
!Uo4,g6r+  
"y}5;9#,  
struts.velocity.manager.classname `c$V$/IT  
      org.apache.struts2.views.velocity.VelocityManager implementation class bt?5*ETA  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~xFkU#  
QXK{bxwC  
struts.velocity.toolboxlocation W=?<<dVYD  
      The location of the Velocity toolbox ? J0y|  
      velocity工具盒的位置 Bzf^ivT3L  
struts.xslt.nocache I?CZQ+}Hq  
      Whether or not XSLT templates should not be cached i ct])  
      是否XSLT模版应该被缓存 H5|;{q:j  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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