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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 v63"^%LX  
m~-K[+ya`D  
struts.action.extension ikv Wh<=>H  
      The URL extension to use to determine if the request is meant for a Struts action u*ObwcI/Bn  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 rcC<Zat,|  
+2&@x=xy  
struts.configuration O4V.11FnW  
      The org.apache.struts2.config.Configuration implementation class 75/(??2  
        org.apache.struts2.config.Configuration接口名 yU-e3O7L  
LH8 fBhw  
struts.configuration.files HTS%^<u  
      A list of configuration files automatically loaded by Struts xk5@d6Y{r  
      struts自动加载的一个配置文件列表 [8=vv7wS  
rFj-kojg  
struts.configuration.xml.reload 9{5&^RbCp  
      Whether to reload the XML configuration or not [nrYpb4  
      是否加载xml配置(true,false) G2Qlt@.T  
xgKdMW'%g:  
struts.continuations.package J:V6  
      The package containing actions that use Rife continuations C,ARXW1  
      含有actions的完整连续的package名称 0dGAP  
ECrex>zr%  
struts.custom.i18n.resources rLI8pA|.  
      Location of additional localization properties files to load Y STv\y  
      加载附加的国际化属性文件(不包含.properties后缀) GycSwQ ,  
lTV'J?8!-a  
struts.custom.properties sP;nGQ.eN  
      Location of additional configuration properties files to load 10q'Z}34  
      加载附加的配置文件的位置 z6jc8Z=O  
y)W@{@{kl  
WSp  
struts.devMode "AnC?c9?-^  
      Whether Struts is in development mode or not FrL]^59a  
      是否为struts开发模式 T>2[=J8U  
w&o&jAb-M  
struts.dispatcher.parametersWorkaround DVB{2~7 4  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $m].8?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) B&[M7i  
}%'?p<^M  
struts.enable.DynamicMethodInvocation \KQ71yqY  
      Allows one to disable dynamic method invocation from the URL x,|hU@h  
        允许动态方法调用  CohDO  
D(AXk8Vub  
struts.freemarker.manager.classname qB0E_y)a  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class tG9BfGF  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]|zp0d=&o  
| r&k48@  
struts.i18n.encoding &]v4@%<J  
      The encoding to use for localization messages ;*:]*|bw  
      国际化信息内码 <`B,R*H{  
r&R B9S@*h  
struts.i18n.reload gcPTLh[^Er  
      Whether the localization messages should automatically be reloaded 1 u| wMO  
      是否国际化信息自动加载 w$z}r  
snf~}:&   
struts.locale Jq&uF*!  
      The default locale for the Struts application j53*E )d  
      默认的国际化地区信息 mpI5J'>]  
F+ ,~v-  
struts.mapper.class z(_Ss@ $  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [E!oQVY  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 p?7v$ev_  
%C~1^9uq  
struts.multipart.maxSize OjJXysslXO  
      The maximize size of a multipart request (file upload) 544X1Ww2  
      multipart请求信息的最大尺寸(文件上传用) (@<lRA ^  
:PIF07$xl  
struts.multipart.parser R7$:@<:g  
      The org.apache.struts2.dispatcher.multipart. i'H/ZwU  
      MultiPartRequest parser implementation for a multipart request (file upload) ;aI[=?<x  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \Xm,OE_v"  
s>;v!^N?u  
4zev^FR  
struts.multipart.saveDir bJRN;g  
      The directory to use for storing uploaded files 66/3|83Z  
      设置存储上传文件的目录夹 5][Ztx  
5R@  
struts.objectFactory \6E|pbJ}x  
      The com.opensymphony.xwork2.ObjectFactory implementation class !sDh4jQ`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^?0DP >XA  
PP;}e  
struts.objectFactory.spring.autoWire +BVym~*^  
      Whether Spring should autoWire or not zLD0RBj7p  
      是否自动绑定Spring  x }\64  
k7?N ?7w  
struts.objectFactory.spring.useClassCache }.3nthgz  
      Whether Spring should use its class cache or not 1|kvPo#  
      是否spring应该使用自身的cache @ezH'y-v  
uD1e!oU  
struts.objectTypeDeterminer :3XA!o&.T3  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Hyb3 ;yQ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q1O}ly}JS  
o<<xY<  
struts.serve.static.browserCache M=1nQF2J  
If static content served by the Struts filter should set browser caching header properties or not 6+.uU[x@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {5%5}[/x  
 ud xZ0  
struts.serve.static !/}O>v~o  
      Whether the Struts filter should serve static content or not @hJ%@(  
      是否struts过滤器应该提供静态内容 W3IpHV  
aGJC1x  
struts.tag.altSyntax As3.Q(#Z  
      Whether to use the alterative syntax for the tags or not :*ing  
      是否可以用替代的语法替代tags DF1I[b=]  
@y='^DQ*  
struts.ui.templateDir 5b!vgm#])  
      The directory containing UI templates B^j  
      UI templates的目录夹 0~ZFv Wv  
)2V:  
struts.ui.theme 73V|6tmgY  
      The default UI template theme bu:S:`  
      默认的UI template主题 19O,a#{KHf  
$^OvhnL/  
struts.url.http.port =+U `-J} g  
      The HTTP port used by Struts URLs ue4Vcf  
      设置http端口 0J?~N`#O|  
-R57@D>j\  
struts.url.https.port  Fy`(BF\  
      The HTTPS port used by Struts URLs iz8Bf;  
      设置https端口 ~i~7 n a|  
E=e*VEjy  
struts.url.includeParams l^|UCgRn  
      The default includeParams method to generate Struts URLs Sz^ veh?  
      在url中产生 默认的includeParams @\|_  
R_sr?V|"  
`8^TTQ  
struts.velocity.configfile CjlKMbnBH  
      The Velocity configuration file path h3bff#<K  
      velocity配置文件路径 .2%zC & ;  
jUSmq m'  
struts.velocity.contexts Y( 3Bp\6  
      List of Velocity context names ?Cl%{2omO  
      velocity的context列表 k p<OJy  
9[G[$c  
p3 w  
struts.velocity.manager.classname i'9vL:3  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?Lyxw]  
      org.apache.struts2.views.velocity.VelocityManager接口名 I_<I&{N>  
U<CTubF  
struts.velocity.toolboxlocation VY~yg*  
      The location of the Velocity toolbox U@-^C"R  
      velocity工具盒的位置 W7U2MqQ  
struts.xslt.nocache _(h&7P9  
      Whether or not XSLT templates should not be cached N'g>MBdI  
      是否XSLT模版应该被缓存 oW<5|FaN  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八