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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \QCJ4}\CS  
zld#qG6  
struts.action.extension Uw7h=UQh  
      The URL extension to use to determine if the request is meant for a Struts action G2T|RT $_K  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 HKUn`ng  
?)ONf#4Y  
struts.configuration k-^mIJo}  
      The org.apache.struts2.config.Configuration implementation class 53n^3M,qK  
        org.apache.struts2.config.Configuration接口名 h3xAJ!  
Bn &Ws  
struts.configuration.files W@I|Q -  
      A list of configuration files automatically loaded by Struts Sxh]R+Xb  
      struts自动加载的一个配置文件列表 io8'g3<  
4.5|2 \[  
struts.configuration.xml.reload #*UN >X  
      Whether to reload the XML configuration or not <d$x.in  
      是否加载xml配置(true,false) ]Yn_}Bq  
7x%R:^*4  
struts.continuations.package P&^;656r  
      The package containing actions that use Rife continuations :BV6y|J9O^  
      含有actions的完整连续的package名称 G\+L~t  
#;2n;.a  
struts.custom.i18n.resources (bH`x]h#  
      Location of additional localization properties files to load MjC_ (cs  
      加载附加的国际化属性文件(不包含.properties后缀) ) iN/ua  
'$ t  
struts.custom.properties 2OVRf0.R~  
      Location of additional configuration properties files to load '|8} z4/g  
      加载附加的配置文件的位置 6"&6 `f  
ud'-;W  
cmU1!2.1E  
struts.devMode  :7]Sa`  
      Whether Struts is in development mode or not 0?:} P  
      是否为struts开发模式 A#J`;5!Sc  
r w2arx  
struts.dispatcher.parametersWorkaround Ssou  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  VoWNW  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )9"_J9G  
sg3OL/"  
struts.enable.DynamicMethodInvocation {CGUL|y  
      Allows one to disable dynamic method invocation from the URL 'O_3)x5  
        允许动态方法调用 nz=G lO'[  
PuA9X[=  
struts.freemarker.manager.classname I%j|D#qY:T  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xg;+<iW  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .yqM7U_  
DpvI[r//'*  
struts.i18n.encoding %4,O 2\0?&  
      The encoding to use for localization messages 7'W%blg!V  
      国际化信息内码 koZ*+VP=  
W_\5nF  
struts.i18n.reload $!-c-0ub  
      Whether the localization messages should automatically be reloaded 0uOkMuy<  
      是否国际化信息自动加载 }J:U=HJ  
7e|s wJ>4  
struts.locale t!W(_8j  
      The default locale for the Struts application 4~Vx3gEV:  
      默认的国际化地区信息 6z#acE1)M  
7byK{{/z  
struts.mapper.class IoQEtA  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6;\I))"[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 |Mu p8(gCk  
"/3'XOK|  
struts.multipart.maxSize hIs4@0  
      The maximize size of a multipart request (file upload) (_mnB W  
      multipart请求信息的最大尺寸(文件上传用) }@'$b<!B  
M"p  
struts.multipart.parser (|:M&Cna]  
      The org.apache.struts2.dispatcher.multipart. -:Da&V  
      MultiPartRequest parser implementation for a multipart request (file upload) (2J: #  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :cem,#(=  
&:9c AIe]H  
O`x;,6Vr  
struts.multipart.saveDir 1 d}Z(My  
      The directory to use for storing uploaded files e6R}0w~G  
      设置存储上传文件的目录夹 }Z@ovsG  
ZkRx1S"m  
struts.objectFactory EUD~CZhS"k  
      The com.opensymphony.xwork2.ObjectFactory implementation class vj'wm}/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) F\JM\{&F  
+Mo9kC  
struts.objectFactory.spring.autoWire D0&,?  
      Whether Spring should autoWire or not 5nv#+ap1 "  
      是否自动绑定Spring /32Fy`KV  
A-Sv;/yD_  
struts.objectFactory.spring.useClassCache "bFTk/  
      Whether Spring should use its class cache or not r?+%?$  
      是否spring应该使用自身的cache ck ]Do!h  
zT =Ho   
struts.objectTypeDeterminer gp};D  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Bn=by{i  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 nt 81Bk=  
}iXDa?6%  
struts.serve.static.browserCache eJF5n#  
If static content served by the Struts filter should set browser caching header properties or not "Gfh,e  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?]|\4]zV  
jqWu  
struts.serve.static wa<MRt W=  
      Whether the Struts filter should serve static content or not mq aHwID  
      是否struts过滤器应该提供静态内容 J`peX0Stl  
@K\~O__  
struts.tag.altSyntax nOt&pq7  
      Whether to use the alterative syntax for the tags or not N=4G=0 `ke  
      是否可以用替代的语法替代tags y6ECdVF  
A;;fACF8e  
struts.ui.templateDir F3N?Nk/  
      The directory containing UI templates oibsh(J3  
      UI templates的目录夹 $*^kY;  
^nT/i .#_  
struts.ui.theme d?s<2RkPT  
      The default UI template theme Hbj,[$Jb  
      默认的UI template主题 Jv>gwV{  
03|PYk 6EW  
struts.url.http.port kW2sY^Rg  
      The HTTP port used by Struts URLs \s/s7y6b+  
      设置http端口 T}Km?d  
MuYk};f  
struts.url.https.port Pj#<K%Bz  
      The HTTPS port used by Struts URLs c&r70L,  
      设置https端口 X\`_3=  
#^`4DhQ/ 1  
struts.url.includeParams Qi ua  
      The default includeParams method to generate Struts URLs NaPt"G  
      在url中产生 默认的includeParams HKU~UTRnZ  
O}+.U<V  
~k\fhx  
struts.velocity.configfile p31NIf `  
      The Velocity configuration file path j5K]CTz#  
      velocity配置文件路径 S/}2;\Xm  
6DM$g=/ '  
struts.velocity.contexts %=n!Em(  
      List of Velocity context names un)4eo!7  
      velocity的context列表 p6 ]7&{>  
R{WE\T'  
hU(umL<  
struts.velocity.manager.classname "8c@sHk(w  
      org.apache.struts2.views.velocity.VelocityManager implementation class $&y%=-]|  
      org.apache.struts2.views.velocity.VelocityManager接口名 A'j;\ `1  
_4rFEYz$d  
struts.velocity.toolboxlocation qS403+Su1=  
      The location of the Velocity toolbox m`v2: S}  
      velocity工具盒的位置 y-T| #  
struts.xslt.nocache jq-p;-i  
      Whether or not XSLT templates should not be cached !Nu<xq@!  
      是否XSLT模版应该被缓存 ?{\nf7Y  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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