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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *f*f&l%  
q] ZSj J  
struts.action.extension <UK5eVQn  
      The URL extension to use to determine if the request is meant for a Struts action z@`@I  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U$09p;~$Ww  
kknhthJ  
struts.configuration p,s&61]  
      The org.apache.struts2.config.Configuration implementation class |UZOAGiBg  
        org.apache.struts2.config.Configuration接口名 |KaR n;BM  
Xoi9d1fO  
struts.configuration.files [Pqn 3I[  
      A list of configuration files automatically loaded by Struts -7 L  
      struts自动加载的一个配置文件列表 !&0a<~ Wi  
)8]3kQffJ=  
struts.configuration.xml.reload kpT>G$s~gy  
      Whether to reload the XML configuration or not &:#A+4&  
      是否加载xml配置(true,false) $[w|oAwi  
 3se$,QmN  
struts.continuations.package H oS|f0  
      The package containing actions that use Rife continuations 5%qH 7[dx  
      含有actions的完整连续的package名称 \!7*(&yly  
7uA\&/ ,  
struts.custom.i18n.resources '{W3j^m7  
      Location of additional localization properties files to load KT%{G8Y@M  
      加载附加的国际化属性文件(不包含.properties后缀) KE#$+,?  
QB9A-U <J  
struts.custom.properties w%I8CU_}.  
      Location of additional configuration properties files to load cS 4T\{B;  
      加载附加的配置文件的位置 u!u5g.Q  
_M&{^d  
2b~ HHVruX  
struts.devMode l}+Cdy9>  
      Whether Struts is in development mode or not jRwa0Px(  
      是否为struts开发模式 Wa{%0inZ  
hJ4S3b  
struts.dispatcher.parametersWorkaround r?]%d!   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #O><A&FrF`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) s%bUgO%&  
cyHhy_~R  
struts.enable.DynamicMethodInvocation u:eW0Ows"  
      Allows one to disable dynamic method invocation from the URL [^Q&suy  
        允许动态方法调用 .CvFE~  
+|M{I= 8  
struts.freemarker.manager.classname ?0m?7{  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u<C $'V  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 h/{8bC@bi  
Bf+^O)Ns^  
struts.i18n.encoding YjL t&D:IZ  
      The encoding to use for localization messages W`5a:"Vg  
      国际化信息内码 oB3q AP  
{[N?+ZJD*L  
struts.i18n.reload }eI`Qg  
      Whether the localization messages should automatically be reloaded CCn/ udp@  
      是否国际化信息自动加载 lf;~5/%wMG  
b<8q 92F  
struts.locale >0 7shNX  
      The default locale for the Struts application >waN;&>/  
      默认的国际化地区信息 k5g@myb-  
!b'IfDp[-!  
struts.mapper.class bbO+%-(X  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %db3f z  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <qr^Nyo4  
,Z?m`cx  
struts.multipart.maxSize #[Z<=i~C  
      The maximize size of a multipart request (file upload) (A2U~j?Ry}  
      multipart请求信息的最大尺寸(文件上传用) -#daBx ?  
YI/{TL8*KK  
struts.multipart.parser h k/+  
      The org.apache.struts2.dispatcher.multipart. %5`r-F  
      MultiPartRequest parser implementation for a multipart request (file upload) +fkP+RVY  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) >b3@>W  
VmMh+)UZ  
htQ;m)>J:  
struts.multipart.saveDir =P)"NP7f'  
      The directory to use for storing uploaded files .$UTH@;7  
      设置存储上传文件的目录夹 @{'o#EJY  
x}_rnf_  
struts.objectFactory .:T9pplq  
      The com.opensymphony.xwork2.ObjectFactory implementation class \?r$&K]4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) a4:`2  
sK#H4y+<  
struts.objectFactory.spring.autoWire hl*MUD,  
      Whether Spring should autoWire or not eS* *L 3  
      是否自动绑定Spring ;r%<2(  
FF8WTuzB+  
struts.objectFactory.spring.useClassCache hJ<:-u+yk}  
      Whether Spring should use its class cache or not R !jhwY$  
      是否spring应该使用自身的cache _ \_3s  
f>|9 l  
struts.objectTypeDeterminer j`{fB}  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  )Kxs@F  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 j1W bD7*8  
>s44  
struts.serve.static.browserCache Io2,% !D  
If static content served by the Struts filter should set browser caching header properties or not 8TUF w@H%  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )_X;9%L7  
4(m/D>6:  
struts.serve.static Zp^)_ 0  
      Whether the Struts filter should serve static content or not LH bZjZ2  
      是否struts过滤器应该提供静态内容 %f_FGh  
tP&{ J^G  
struts.tag.altSyntax b8eDD+ulk  
      Whether to use the alterative syntax for the tags or not gQu\[e%mVo  
      是否可以用替代的语法替代tags eB)UXOu1  
o`oRG)QC  
struts.ui.templateDir 3D{82*&  
      The directory containing UI templates }<E sS  
      UI templates的目录夹 [5x+aW%ql  
="/R5fp  
struts.ui.theme P0a>+^:%  
      The default UI template theme "r:H5) !  
      默认的UI template主题 (MZ A  
MacL3f  
struts.url.http.port t)YFTO"Jj  
      The HTTP port used by Struts URLs PY[S z=[  
      设置http端口 /,=Wy"0TJ  
e!TG< (S  
struts.url.https.port =ltbSf7  
      The HTTPS port used by Struts URLs TXA. 6e  
      设置https端口 H't`Q&]a  
~3LhcU-  
struts.url.includeParams c& 9+/JYMo  
      The default includeParams method to generate Struts URLs "(9=h@@Y"  
      在url中产生 默认的includeParams wa9'2a1?  
Ej-=y2j{g  
;JMOsn}8  
struts.velocity.configfile /%2:+w  
      The Velocity configuration file path \Sz4Gr0g3Z  
      velocity配置文件路径 V 22q*/iV  
Uh<H*o6e 9  
struts.velocity.contexts d w|-=~  
      List of Velocity context names U@1#!ZZ6  
      velocity的context列表 qpluk!  
\r:m({G  
,{#RrF e  
struts.velocity.manager.classname 5JJg"yuY"  
      org.apache.struts2.views.velocity.VelocityManager implementation class 3(oZZz  
      org.apache.struts2.views.velocity.VelocityManager接口名 I8E\'`:<  
 f'7 d4  
struts.velocity.toolboxlocation .Y=Z!Q  
      The location of the Velocity toolbox K8e4ax  
      velocity工具盒的位置 ]L5Z=.z&  
struts.xslt.nocache AJJ%gxqGq  
      Whether or not XSLT templates should not be cached >FK)p   
      是否XSLT模版应该被缓存 ,Y78Q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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