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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 C)w *aU,(  
@Hh"Y1B  
struts.action.extension ,)1e+EnV&  
      The URL extension to use to determine if the request is meant for a Struts action 1*h7L<#|mQ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 9:o3JGHSc  
B*IDx`^Y  
struts.configuration 6K}=K?3Z  
      The org.apache.struts2.config.Configuration implementation class iE(grI3  
        org.apache.struts2.config.Configuration接口名 j`B{w   
PvwIO_W  
struts.configuration.files CCOg1X_  
      A list of configuration files automatically loaded by Struts SO/]d70HG  
      struts自动加载的一个配置文件列表 pZxL?N!  
OB22P%  
struts.configuration.xml.reload 5b p"dIe  
      Whether to reload the XML configuration or not &v,p_'k  
      是否加载xml配置(true,false) U@nwSfp:G  
hT"K}d;X  
struts.continuations.package E6M: ^p*<  
      The package containing actions that use Rife continuations _ GSw\r  
      含有actions的完整连续的package名称 N/BU%c ph+  
'Aj>+H<B  
struts.custom.i18n.resources 99K+7G\{  
      Location of additional localization properties files to load N&=2 /  
      加载附加的国际化属性文件(不包含.properties后缀) |U $-d^ZJ  
]?{lQ0vw'w  
struts.custom.properties AHJ;>"]  
      Location of additional configuration properties files to load /&7Yi_]r  
      加载附加的配置文件的位置 #LJ-IDuF!  
(N4(r<o;  
'OCo1|iK~  
struts.devMode %<yM=1~>  
      Whether Struts is in development mode or not M7,MxwZ0k  
      是否为struts开发模式 >N-%  
"6Uj:9  
struts.dispatcher.parametersWorkaround +;;%Atgn  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }8 _9V|E  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) J_ |x^  
(B<AK4G  
struts.enable.DynamicMethodInvocation KTt$Pt/.  
      Allows one to disable dynamic method invocation from the URL 79H+~1Az  
        允许动态方法调用 (14kR  
B}+9U  
struts.freemarker.manager.classname &Q>'U6"%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nD\os[ 3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [dlH t;S  
J|S^K kC  
struts.i18n.encoding mcr#Ze  
      The encoding to use for localization messages 3ohcHQ/a  
      国际化信息内码 ( y*X8  
E2'e}RQ  
struts.i18n.reload ZGhoV#T@  
      Whether the localization messages should automatically be reloaded %+ a@|Z   
      是否国际化信息自动加载 WG}CPkj  
K-C-+RB  
struts.locale [nIG_j>D-f  
      The default locale for the Struts application 389.&`Q%Ut  
      默认的国际化地区信息 a] =\h'S  
9t.yP;j\Y  
struts.mapper.class jSp&mD*xv  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Ml?)Sc"\7  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 PRC)GP&q  
es+_]:7B9  
struts.multipart.maxSize B@inH]wq  
      The maximize size of a multipart request (file upload) wS*CcIwj  
      multipart请求信息的最大尺寸(文件上传用) 1Z8Oh_D C  
 O'|P|  
struts.multipart.parser 2Q|*xd4B^  
      The org.apache.struts2.dispatcher.multipart. UMQW#$~C{g  
      MultiPartRequest parser implementation for a multipart request (file upload) o~_>p/7;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5'Jh2r  
N('DIi*or  
T,2Dr;  
struts.multipart.saveDir 2%C5P0;QX  
      The directory to use for storing uploaded files 7u5\#|yL  
      设置存储上传文件的目录夹 OKP_3Ns  
ESjJHZoD(  
struts.objectFactory g{)H" 8L  
      The com.opensymphony.xwork2.ObjectFactory implementation class nvo1+W(%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) w })Pedg  
xWz;5=7a]  
struts.objectFactory.spring.autoWire }lUpC}aq_  
      Whether Spring should autoWire or not XqS*;Zj0  
      是否自动绑定Spring p[F=LP  
^.kAZSgO  
struts.objectFactory.spring.useClassCache ZQ-`l:G  
      Whether Spring should use its class cache or not tW"ptU^9)  
      是否spring应该使用自身的cache 1idjX"'  
'oZn<c`  
struts.objectTypeDeterminer kJi&9  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tr9Y1vxo{  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {-N90Oe  
pkfOM"5'  
struts.serve.static.browserCache 2vdQ&H4  
If static content served by the Struts filter should set browser caching header properties or not *a,.E6C*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |4> r"  
7h9[-d6  
struts.serve.static R|J>8AL}BY  
      Whether the Struts filter should serve static content or not [S&O-b8A  
      是否struts过滤器应该提供静态内容 fwv T2G4  
aU<D$I  
struts.tag.altSyntax roj04|  
      Whether to use the alterative syntax for the tags or not G<-9U}~76  
      是否可以用替代的语法替代tags dwbY"t[9  
*RbOQ86vP  
struts.ui.templateDir (&S[R{=^j  
      The directory containing UI templates x$?7)F&z  
      UI templates的目录夹 LF)a"Sh  
Y:!/4GF  
struts.ui.theme ]VG84bFm  
      The default UI template theme ?~JxO/K  
      默认的UI template主题 MRg\FR 2>1  
T19rbL_  
struts.url.http.port u~- fK'/!|  
      The HTTP port used by Struts URLs QB3d7e)8>  
      设置http端口 Prb_/B Dd  
t#pqXY/;D  
struts.url.https.port a;'E}b{`F  
      The HTTPS port used by Struts URLs x #X#V\w=  
      设置https端口 A6UdWK  
]AZ\5C-J  
struts.url.includeParams M`+e'vdw  
      The default includeParams method to generate Struts URLs *JY`.t  
      在url中产生 默认的includeParams O})u'  
N~S[xS?  
H")N_BB  
struts.velocity.configfile /=YqjZTCq  
      The Velocity configuration file path B#k3"vk#  
      velocity配置文件路径 MpIw^a3(r  
HEB/\  
struts.velocity.contexts mB^I @oZ*  
      List of Velocity context names AJ?}Hel[0  
      velocity的context列表 E/8u'  
/x:(SR2,  
e8ULf~I  
struts.velocity.manager.classname : >wQwf  
      org.apache.struts2.views.velocity.VelocityManager implementation class 4&oXy,8LC  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,+ \4 '`  
vJj:9KcP>h  
struts.velocity.toolboxlocation b y|?g8  
      The location of the Velocity toolbox *pb:9JKi  
      velocity工具盒的位置 N5f0| U&  
struts.xslt.nocache tf7v5iGe  
      Whether or not XSLT templates should not be cached >1a \ %G  
      是否XSLT模版应该被缓存 @W1WReK]f  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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