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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 DO(};R%=  
0''p29  
struts.action.extension a]r+np]vTy  
      The URL extension to use to determine if the request is meant for a Struts action &\ 9%;k  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  4v`/~a  
!MKecRG_  
struts.configuration O z6$u  
      The org.apache.struts2.config.Configuration implementation class +g g_C'"  
        org.apache.struts2.config.Configuration接口名 OHF:E44k  
|TBKsx8  
struts.configuration.files 9EZh~tdV[  
      A list of configuration files automatically loaded by Struts n lvDMZ  
      struts自动加载的一个配置文件列表 37,)/8]lG  
xaSiG  
struts.configuration.xml.reload 8\Z/mU*4  
      Whether to reload the XML configuration or not l]e7  
      是否加载xml配置(true,false) f=MR.\  
j7&0ckN&G  
struts.continuations.package z?_5fte`  
      The package containing actions that use Rife continuations }xzbg  
      含有actions的完整连续的package名称 o|a]Q  
%1]Lc=[j  
struts.custom.i18n.resources 2! bE|  
      Location of additional localization properties files to load laFF/g;sRC  
      加载附加的国际化属性文件(不包含.properties后缀) pe@/tO&I  
! XNTk]!  
struts.custom.properties =:'a)o  
      Location of additional configuration properties files to load ~{O@tt)F  
      加载附加的配置文件的位置 <wt9K2,  
R_DZJV O  
*(@[E  
struts.devMode & 5YI!; q,  
      Whether Struts is in development mode or not [R[Suf  
      是否为struts开发模式 d~J4&w  
SA$1rqU=  
struts.dispatcher.parametersWorkaround ]hkway  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ddD $ 4+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) s8N\cOd#i  
s*j0uAq)up  
struts.enable.DynamicMethodInvocation vl}uHdeP9  
      Allows one to disable dynamic method invocation from the URL bMw)> 4  
        允许动态方法调用 o93A:fc  
#nh;KlI 0  
struts.freemarker.manager.classname M e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class P1 `-OM  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9m fYB  
K1>X%f^  
struts.i18n.encoding YT'G#U1x~  
      The encoding to use for localization messages 6i|5`ZO  
      国际化信息内码 t2skg  
}{T9`^V:h  
struts.i18n.reload KJn@2x6LP  
      Whether the localization messages should automatically be reloaded Rah"La  
      是否国际化信息自动加载 d3-F?i 5d  
]L+YnZ?6  
struts.locale kW#,o9f\  
      The default locale for the Struts application Y)#x(s?t  
      默认的国际化地区信息  ,5!&}  
-AnQZy  
struts.mapper.class POvxZU  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .1n=&d|  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 x\PZ.o  
Z/-9G  
struts.multipart.maxSize Geyy!sr``  
      The maximize size of a multipart request (file upload) URU,&gy=  
      multipart请求信息的最大尺寸(文件上传用)  lS@0 $  
8Na.H::cZ  
struts.multipart.parser \WS2g"(  
      The org.apache.struts2.dispatcher.multipart. .5L|(B=H  
      MultiPartRequest parser implementation for a multipart request (file upload) er@"4R0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) w-iu/|}  
mm}y/dO~}  
krqz;q-p~  
struts.multipart.saveDir w>#{Nl7gz  
      The directory to use for storing uploaded files Lx%*IE|c  
      设置存储上传文件的目录夹 eTg8I/ )%B  
5OEo(&  
struts.objectFactory (~>uFH  
      The com.opensymphony.xwork2.ObjectFactory implementation class AWaptw_p*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #(@!:f1  
*Bfo"["0.  
struts.objectFactory.spring.autoWire TI}a$I*  
      Whether Spring should autoWire or not ,(RpBTV  
      是否自动绑定Spring Ge @qvP_  
f|=u{6  
struts.objectFactory.spring.useClassCache PqIskv+  
      Whether Spring should use its class cache or not ,1g_{dMx  
      是否spring应该使用自身的cache it-]-=mqb  
'`YZJ  
struts.objectTypeDeterminer k*u6'IKi.4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class HOx+umjxW  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 v8WT?%  
qw*) R#=  
struts.serve.static.browserCache @tJ4^<`P{  
If static content served by the Struts filter should set browser caching header properties or not +J85Re `  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8f<y~L_(`  
k+%&dEE|vH  
struts.serve.static lX-i<0`  
      Whether the Struts filter should serve static content or not @U4hq7xzV2  
      是否struts过滤器应该提供静态内容 vsyg u  
&qK:LHhj  
struts.tag.altSyntax 2~ 4&4  
      Whether to use the alterative syntax for the tags or not W mbIz[un  
      是否可以用替代的语法替代tags {/(.Bpld  
tot~\S  
struts.ui.templateDir \>>P%EU,  
      The directory containing UI templates &S`g&  
      UI templates的目录夹 MD*dq  
BsA'r+ho?H  
struts.ui.theme Ozhn`9L+1!  
      The default UI template theme {=\Fc`74  
      默认的UI template主题 ]v0Z[l>yf  
,NvXpN  
struts.url.http.port `|Hk+V  
      The HTTP port used by Struts URLs  VM:|I~gJ  
      设置http端口 TpwN2 =  
c_CVZR?  
struts.url.https.port WF-jy7+  
      The HTTPS port used by Struts URLs z;dRzwL  
      设置https端口 K3<A<&W_-  
x;sc?5_`  
struts.url.includeParams Xz)qtDN|(  
      The default includeParams method to generate Struts URLs k0O5c[ j  
      在url中产生 默认的includeParams (X Oz0.W  
s*_fRf:  
]j>`BK>FE  
struts.velocity.configfile f>$RR_  
      The Velocity configuration file path t$~'$kM)<  
      velocity配置文件路径 j}B86oX  
^H7xFd|>  
struts.velocity.contexts tk*-Cx?_  
      List of Velocity context names  T&MhSJf#  
      velocity的context列表 N6of$p'N  
UKZ )Boo  
\o/eF&  
struts.velocity.manager.classname <K<#)mcv  
      org.apache.struts2.views.velocity.VelocityManager implementation class JKfJ%yy |  
      org.apache.struts2.views.velocity.VelocityManager接口名 H<n"[u^@E  
L'S,=NYXY  
struts.velocity.toolboxlocation "OK[uug  
      The location of the Velocity toolbox $ ,]U~7S  
      velocity工具盒的位置 DpvHIE:W  
struts.xslt.nocache 3(\D.Z  
      Whether or not XSLT templates should not be cached qbeUc5`1  
      是否XSLT模版应该被缓存 Uavl%Q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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