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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 KAUYE^  
Oq!u `g9  
struts.action.extension gqe z-  
      The URL extension to use to determine if the request is meant for a Struts action flb3Iih  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2c+q~8Jv  
Y!Z@1V`  
struts.configuration |y=CmNG,  
      The org.apache.struts2.config.Configuration implementation class (EohxLl!p  
        org.apache.struts2.config.Configuration接口名 vTB*J,6.  
dQizM^j  
struts.configuration.files  H) (K  
      A list of configuration files automatically loaded by Struts pX*mX]  
      struts自动加载的一个配置文件列表 d2(eX\56Z  
)bcMKZ   
struts.configuration.xml.reload |,yS>kjp  
      Whether to reload the XML configuration or not IkkJ4G  
      是否加载xml配置(true,false) blp)a  
9jvg[ H  
struts.continuations.package /M'b137  
      The package containing actions that use Rife continuations m"v` E7G  
      含有actions的完整连续的package名称 Ufo- AeQo  
V=S`%1dLN  
struts.custom.i18n.resources 8#oF7eE  
      Location of additional localization properties files to load j^64:3  
      加载附加的国际化属性文件(不包含.properties后缀) t+?\4+!<  
o-x_[I|@  
struts.custom.properties %X.Q\T  
      Location of additional configuration properties files to load }1$8)zH  
      加载附加的配置文件的位置 xds"n5  
r2xlcSn%  
qi/%&)GZ  
struts.devMode c%B=TAs5c  
      Whether Struts is in development mode or not WMI/Y 9N  
      是否为struts开发模式 xr6Q5/p1  
v}cm-_*v  
struts.dispatcher.parametersWorkaround `zep`j&8^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic NS&~n^*k<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) DO %YOv  
1,pg:=N9  
struts.enable.DynamicMethodInvocation cBm3|@7  
      Allows one to disable dynamic method invocation from the URL }!.7QpA$  
        允许动态方法调用 -(1e!5_-@  
ltD:w{PO]  
struts.freemarker.manager.classname ,2?C^gxt  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }  g  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #}jf TM  
pXQ&2s$  
struts.i18n.encoding ^Jkj/n'  
      The encoding to use for localization messages -D V;{8U4  
      国际化信息内码 3^`bf=R  
w=f8UtY9@A  
struts.i18n.reload ^Xb!dnT.*a  
      Whether the localization messages should automatically be reloaded b UWtlg  
      是否国际化信息自动加载 p=r{ODw#3  
5-&P4  
struts.locale | _S9U|  
      The default locale for the Struts application b,K1EEJ  
      默认的国际化地区信息 As>po +T*  
Dxu )by  
struts.mapper.class -> <_J4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T]i~GkD\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 2.:b   
f<zh-Gq  
struts.multipart.maxSize B! -W765Y  
      The maximize size of a multipart request (file upload) j#~4JGZt  
      multipart请求信息的最大尺寸(文件上传用) 2C-RoZ~  
dm.3.xXq  
struts.multipart.parser LpF6e9V\Wp  
      The org.apache.struts2.dispatcher.multipart. =l_eliM/  
      MultiPartRequest parser implementation for a multipart request (file upload) 8zY)0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) tdt6*  
q$HBPR4h  
Rd#,Tl\  
struts.multipart.saveDir i>w>UA*t  
      The directory to use for storing uploaded files +oiPj3  
      设置存储上传文件的目录夹 v=W%|iZ  
s&tr84u|  
struts.objectFactory ?px x,o6l  
      The com.opensymphony.xwork2.ObjectFactory implementation class Rdv"Aj:  
      com.opensymphony.xwork2.ObjectFactory接口(spring) c76^x   
[hiOFmMJZ-  
struts.objectFactory.spring.autoWire P0 89Mh9  
      Whether Spring should autoWire or not wYF)G;[wM  
      是否自动绑定Spring ^.<IT"  
DdFVOs|  
struts.objectFactory.spring.useClassCache L ~;_R*Th  
      Whether Spring should use its class cache or not v'iQLUgI  
      是否spring应该使用自身的cache T&0tW"r?  
eq/s8]uM  
struts.objectTypeDeterminer =RV$8.Xp  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class @lBH@HR=C  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %ZZ}TUI W  
ho:,~ A;k  
struts.serve.static.browserCache {`}RYfZ  
If static content served by the Struts filter should set browser caching header properties or not 0 Q1}u@G  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #p[=iP  
>MhkNy  
struts.serve.static dA_s7),  
      Whether the Struts filter should serve static content or not x,1&ml5  
      是否struts过滤器应该提供静态内容 Sa@Xh,y Z  
ZERd#7@m+  
struts.tag.altSyntax %Ajf|Go0/G  
      Whether to use the alterative syntax for the tags or not lc/2!:g  
      是否可以用替代的语法替代tags |X_yL3`Zb  
t Y^:C[  
struts.ui.templateDir ksK lw_%o  
      The directory containing UI templates ).vdKNzw  
      UI templates的目录夹 D/giM#"  
8>epKFEg  
struts.ui.theme _mO\Nw0  
      The default UI template theme *qR tk  
      默认的UI template主题 mqE&phF,  
f j"S|]e  
struts.url.http.port V8N<%/ A=  
      The HTTP port used by Struts URLs ] #J ]f  
      设置http端口 9w AP%xh  
*/ qv}  
struts.url.https.port +6TKk~0e^  
      The HTTPS port used by Struts URLs 5\a5^FK~  
      设置https端口 +^"|FtKhE  
VWNmqeP  
struts.url.includeParams E@N_~1  
      The default includeParams method to generate Struts URLs V&f3>#n\  
      在url中产生 默认的includeParams sB"]R%`_  
Y${ $7+@  
IYj-cm  
struts.velocity.configfile [` i;gx[^  
      The Velocity configuration file path [}VEDx  
      velocity配置文件路径 )@sz\yI%U  
+V0uH pm  
struts.velocity.contexts |E}N8 \Gr  
      List of Velocity context names Uh7kB`2  
      velocity的context列表 t[DXG2&  
)X7ZX#ttH  
mM95BUB  
struts.velocity.manager.classname 1 8&^k|  
      org.apache.struts2.views.velocity.VelocityManager implementation class PVvG  
      org.apache.struts2.views.velocity.VelocityManager接口名 &-{4JSII  
<ZnAPh  
struts.velocity.toolboxlocation t<`BaU  
      The location of the Velocity toolbox ?HBc7$nW  
      velocity工具盒的位置 ?Jx8z`(  
struts.xslt.nocache ?=fJu\;  
      Whether or not XSLT templates should not be cached gFW1Nm_DJ  
      是否XSLT模版应该被缓存 PgxU;N7Y  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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