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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 A;t zRe  
T9y768%  
struts.action.extension X 7&U3v  
      The URL extension to use to determine if the request is meant for a Struts action L]>4Nd  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 xN "wF-s4?  
{Y "8~  
struts.configuration ^BNp`x;;`  
      The org.apache.struts2.config.Configuration implementation class #NM JZ  
        org.apache.struts2.config.Configuration接口名 x\]z j!  
SJ[AiHR  
struts.configuration.files j!CU  
      A list of configuration files automatically loaded by Struts TU-c9"7M~  
      struts自动加载的一个配置文件列表 MA"#rOcP  
nrbazyKm  
struts.configuration.xml.reload 2:~cJk{  
      Whether to reload the XML configuration or not FK3Whe{KP{  
      是否加载xml配置(true,false) \bRy(Z)  
$owb3g(%4  
struts.continuations.package %09*l%,;  
      The package containing actions that use Rife continuations )-)pYRlO  
      含有actions的完整连续的package名称 ,5:![  
H9:%6sds  
struts.custom.i18n.resources 8>d q=0:  
      Location of additional localization properties files to load %t{Sb4XZ4k  
      加载附加的国际化属性文件(不包含.properties后缀) A?' H[2]w"  
/pU|ZA.z'2  
struts.custom.properties i\vpGlx  
      Location of additional configuration properties files to load Z?C4a }  
      加载附加的配置文件的位置 DA=qeVBg  
&58 {  
IO6MK&R  
struts.devMode #AvEH=:  
      Whether Struts is in development mode or not %A=|'6)k2  
      是否为struts开发模式 K+-zY[3  
N+hedF@ZU  
struts.dispatcher.parametersWorkaround &|NZ8:*+#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3FuCW  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _y"a2M  
a>?p.!BM  
struts.enable.DynamicMethodInvocation LhZZc`|7t  
      Allows one to disable dynamic method invocation from the URL YPG,9iZ&f  
        允许动态方法调用 <oZ(ng@X  
A$N+9n\  
struts.freemarker.manager.classname IuDT=A  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &p )@8HY  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 1oB$u!6P  
qz87iJp&  
struts.i18n.encoding +`9yZOaC#  
      The encoding to use for localization messages 9D%qXU  
      国际化信息内码 q$|0)}  
' #KA+?@  
struts.i18n.reload 7\f{'KL  
      Whether the localization messages should automatically be reloaded Jxf}b}^T  
      是否国际化信息自动加载 %B0w~[!4}  
1O23"o5=  
struts.locale s9G)Bd 8  
      The default locale for the Struts application C~{xL>I  
      默认的国际化地区信息 K,G,di  
R~!\ -6%_  
struts.mapper.class / Z1Wy-Z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '%);%y@v  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,}n=Z  
{clC n  
struts.multipart.maxSize \+G.]|"Y  
      The maximize size of a multipart request (file upload) 7 T mK  
      multipart请求信息的最大尺寸(文件上传用) Z~:/#?/  
p8$\uo9YQ  
struts.multipart.parser Lp!0H `L  
      The org.apache.struts2.dispatcher.multipart. |$Qp0vOA}  
      MultiPartRequest parser implementation for a multipart request (file upload) Kyu@>9Ok  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,cPkx~w0  
9}.,2JE  
j6RJC  
struts.multipart.saveDir Lblet  
      The directory to use for storing uploaded files tI"wVr  
      设置存储上传文件的目录夹 h)7v1,;w'  
+< GrRYbC  
struts.objectFactory }+*w.X}L  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3_C98ClE  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ZMP?'0h=  
3Hy%SN(  
struts.objectFactory.spring.autoWire FLK"|*A  
      Whether Spring should autoWire or not ?ISI[hoc  
      是否自动绑定Spring 4+-5,t7  
v*smI7aH  
struts.objectFactory.spring.useClassCache y9=t;qH@|  
      Whether Spring should use its class cache or not 8?A@/  
      是否spring应该使用自身的cache o@Scz!"g  
23)F-.C}j  
struts.objectTypeDeterminer ~Ry $>n*/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0BT;"B1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )o86lH"z  
P_kaIPP  
struts.serve.static.browserCache -hQ96S8  
If static content served by the Struts filter should set browser caching header properties or not =_K%$y*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 IES41y<  
8y-e+  
struts.serve.static jkZ_c!  
      Whether the Struts filter should serve static content or not ,:c :6Y^  
      是否struts过滤器应该提供静态内容 gkSGRshf  
-6AOK<kfI  
struts.tag.altSyntax 9cl{hdP{  
      Whether to use the alterative syntax for the tags or not Z@<q/2).|  
      是否可以用替代的语法替代tags an-\k*w  
[t {vYo  
struts.ui.templateDir _e;N'DZ  
      The directory containing UI templates d]^\w'w$  
      UI templates的目录夹 !1D%-=dWX  
FAH[5VD r%  
struts.ui.theme yW%&_s0  
      The default UI template theme >oVc5}  
      默认的UI template主题 czXI?]gg,  
<+ -V5O^  
struts.url.http.port 7^n,Ti g  
      The HTTP port used by Struts URLs jB*9 !xrd,  
      设置http端口 5}<.1ab3V  
z\X60T  
struts.url.https.port Tbe_x s^  
      The HTTPS port used by Struts URLs 7yo|ie@S  
      设置https端口 1-4   
e_YW~z=6t  
struts.url.includeParams ]R97n|s_  
      The default includeParams method to generate Struts URLs J& 1X  
      在url中产生 默认的includeParams \/? ! 6~  
sZ0g99eX  
_JfJ%YXy  
struts.velocity.configfile l*~"5f03  
      The Velocity configuration file path ~+sne7 6 U  
      velocity配置文件路径 j:3A;r\  
]$*$0  
struts.velocity.contexts HY*l4QK  
      List of Velocity context names Q3 K;kS  
      velocity的context列表 k/$Ja;  
SS >:Sw  
oA(. vr  
struts.velocity.manager.classname ]s1TJw [B  
      org.apache.struts2.views.velocity.VelocityManager implementation class 4U}.Skzq  
      org.apache.struts2.views.velocity.VelocityManager接口名 cRs{=RGc  
c.|sW2/  
struts.velocity.toolboxlocation 'e+-,CGdY\  
      The location of the Velocity toolbox {LR#(q$1  
      velocity工具盒的位置 6|Ba  
struts.xslt.nocache U)&H.^@r$  
      Whether or not XSLT templates should not be cached $M:4\E5(  
      是否XSLT模版应该被缓存 uYG #c(lc  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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