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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -- PtZ]Z  
}0eF~>Df  
struts.action.extension LwrUQ)  
      The URL extension to use to determine if the request is meant for a Struts action cFaaLUZk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Jzj1w}?H  
M|6A0m#Q  
struts.configuration [.m`+  
      The org.apache.struts2.config.Configuration implementation class Yb +yw_5  
        org.apache.struts2.config.Configuration接口名 \wo?47+=  
V`X2> -Ex  
struts.configuration.files H#@^R(  
      A list of configuration files automatically loaded by Struts <%($7VMev  
      struts自动加载的一个配置文件列表 "|Xk2U  
?>hPO73{  
struts.configuration.xml.reload ~kShq%  
      Whether to reload the XML configuration or not  ;hY S6  
      是否加载xml配置(true,false) 6;u$&&c(  
3 N.~mR  
struts.continuations.package '3_]Gu-D  
      The package containing actions that use Rife continuations Ge2q%  
      含有actions的完整连续的package名称 *-MM<|Qt  
]or>?{4g  
struts.custom.i18n.resources cJN7bA {  
      Location of additional localization properties files to load Xa CX!Lr,  
      加载附加的国际化属性文件(不包含.properties后缀) {/"2Vk<H8  
-j%,Oo  
struts.custom.properties &f"-d  
      Location of additional configuration properties files to load 1>*#%R?W  
      加载附加的配置文件的位置  9XP o3;  
u\ #"L  
a&tSj35*6  
struts.devMode "7!;KHc  
      Whether Struts is in development mode or not 5Y.vJz  
      是否为struts开发模式 1xD=ffM>8N  
WfWN(:dF  
struts.dispatcher.parametersWorkaround b6}H$Sx~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic t?q@H8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) h?rp|uPQ  
iJ~Zkd  
struts.enable.DynamicMethodInvocation V"*O=h  
      Allows one to disable dynamic method invocation from the URL .l>77zM6  
        允许动态方法调用 #z&& M"*a|  
'>&^zgr  
struts.freemarker.manager.classname } ~h3c|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class M*z~gOZ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #1`-*.u  
>xF/Pl  
struts.i18n.encoding \Z]UA&v_  
      The encoding to use for localization messages eAXc:222  
      国际化信息内码 k40* e\  
b vS(@  
struts.i18n.reload /`f^Y>4gD  
      Whether the localization messages should automatically be reloaded B-.gI4xa  
      是否国际化信息自动加载 AmaT0tzJC  
M:-.o  
struts.locale |zR8rqBX;  
      The default locale for the Struts application @W va tD V  
      默认的国际化地区信息 >=RmGS  
CsTF  
struts.mapper.class 9;_sC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1nQWW9i  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 b?TO=~k,  
?3*l{[@J  
struts.multipart.maxSize i 7_ _  
      The maximize size of a multipart request (file upload) /e7O$L)   
      multipart请求信息的最大尺寸(文件上传用)  /<HRwG\w  
P/c&@_b  
struts.multipart.parser WOQP$D9  
      The org.apache.struts2.dispatcher.multipart. Pf|siC^;s~  
      MultiPartRequest parser implementation for a multipart request (file upload) QrfG^GID  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'qjeXqGH$  
JQV%fTHS  
LA@w:Fg  
struts.multipart.saveDir yHs- h   
      The directory to use for storing uploaded files 'XZ) !1N  
      设置存储上传文件的目录夹 O$IEn/%+  
2W/?q!t  
struts.objectFactory \]=7!RQ\  
      The com.opensymphony.xwork2.ObjectFactory implementation class kB/D!1 "  
      com.opensymphony.xwork2.ObjectFactory接口(spring) CZ(/=3,3n  
& @s!<9$W  
struts.objectFactory.spring.autoWire I2 j}Am  
      Whether Spring should autoWire or not 4G$|Rx[{,  
      是否自动绑定Spring l7W 6qNB  
<1FC%f/  
struts.objectFactory.spring.useClassCache E0u~i59Z  
      Whether Spring should use its class cache or not D[^m{ 9_  
      是否spring应该使用自身的cache ? %`@ub$  
w S4.8iJ  
struts.objectTypeDeterminer BDq%'~/^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9:,V5n=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &Rx{.9  
,_yh z0.  
struts.serve.static.browserCache /x5rf  
If static content served by the Struts filter should set browser caching header properties or not Ys@}3\Mc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 an|x$e7|?  
p8Q,@ql.  
struts.serve.static %;e/7`>Ma  
      Whether the Struts filter should serve static content or not )^4\,u\@  
      是否struts过滤器应该提供静态内容 T(e!_VY|m  
I 4,K43|  
struts.tag.altSyntax 2C/$Ei^t  
      Whether to use the alterative syntax for the tags or not #Yr9AVr}K  
      是否可以用替代的语法替代tags c:-!'l$ !  
4T!+D  
struts.ui.templateDir h<Ft_#|o[  
      The directory containing UI templates 1jN-4&  
      UI templates的目录夹  :@%4  
TYJ:!  
struts.ui.theme u[ L`-zI  
      The default UI template theme 2'_:S@  
      默认的UI template主题 Z$0 uH*h  
Fb7#<h  
struts.url.http.port TQx.KM>y  
      The HTTP port used by Struts URLs IG|X!l  
      设置http端口 Au4yBm u  
r41\r,`Dj  
struts.url.https.port ag*mG*Z  
      The HTTPS port used by Struts URLs :cq9f2)  
      设置https端口 0TGLM#{  
^1Zeb$Nw'  
struts.url.includeParams } p&&_?  
      The default includeParams method to generate Struts URLs 4W3\P9p=  
      在url中产生 默认的includeParams 6`v7c!7  
\RvvHty-V  
jFA{+Yr1  
struts.velocity.configfile "Qja1TQ  
      The Velocity configuration file path CAcS~ "  
      velocity配置文件路径 "\}@gV#r$A  
u>TZt]h8  
struts.velocity.contexts -[6z 1"*  
      List of Velocity context names 5dB'&8DX  
      velocity的context列表 <5NF;  
\ C+(~9@|  
ow_djv:,  
struts.velocity.manager.classname 5m9*85Ib  
      org.apache.struts2.views.velocity.VelocityManager implementation class `e(vH`VZ  
      org.apache.struts2.views.velocity.VelocityManager接口名 Xlb0/T<g!  
qEpi]=|  
struts.velocity.toolboxlocation 1jc, Y.mP  
      The location of the Velocity toolbox hRty [  
      velocity工具盒的位置 WHjUR0NZ  
struts.xslt.nocache R}lsnX<  
      Whether or not XSLT templates should not be cached [P 06lIO  
      是否XSLT模版应该被缓存 Z\HX~*,6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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