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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 oj(st{,  
 SDc8\ms  
struts.action.extension (e_z*o)\T  
      The URL extension to use to determine if the request is meant for a Struts action .iC!Ttr  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 I7#^'/  
*E wDwS$$  
struts.configuration <t&Qa~mA  
      The org.apache.struts2.config.Configuration implementation class q@^^jlHP  
        org.apache.struts2.config.Configuration接口名 8 :;]tt  
X<D fzd oI  
struts.configuration.files M2$Hb_S{  
      A list of configuration files automatically loaded by Struts p/qu4[Mm  
      struts自动加载的一个配置文件列表 MtVvi6T  
95E #  
struts.configuration.xml.reload 0v,fY2$c  
      Whether to reload the XML configuration or not :Xs4C%H;  
      是否加载xml配置(true,false) jLA)Y [h  
g%V#Z`*|  
struts.continuations.package 5\EnD, y  
      The package containing actions that use Rife continuations UcKVL zKs  
      含有actions的完整连续的package名称 Qr_0 L  
I+F >^4_d  
struts.custom.i18n.resources 4H^ACw  
      Location of additional localization properties files to load 1% C EUE  
      加载附加的国际化属性文件(不包含.properties后缀) :-WNw n  
{;|pcx\L6~  
struts.custom.properties BIS.,  
      Location of additional configuration properties files to load ${rWDZ0Z  
      加载附加的配置文件的位置 Zd'Yu{<_2N  
;.Ld6JRunw  
:7i x`C2  
struts.devMode U)M&AYb  
      Whether Struts is in development mode or not !Eg2#a?  
      是否为struts开发模式 U[2;Fkapi  
3:G$Y: #P  
struts.dispatcher.parametersWorkaround _^eiN'B  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Fe %Vp/  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) jhPbh5E  
kBLFK3i  
struts.enable.DynamicMethodInvocation ^<Gxip  
      Allows one to disable dynamic method invocation from the URL '7}2}KD  
        允许动态方法调用 j{'_sI{{  
;5.<M<PH  
struts.freemarker.manager.classname ~]#-S20  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9Zj3"v+b  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 a6gPJF[Jo  
{8qcM8  
struts.i18n.encoding xY/F)JOeG  
      The encoding to use for localization messages @/?i|!6  
      国际化信息内码 pKpB  
/qJCp![X  
struts.i18n.reload Phk3Jv  
      Whether the localization messages should automatically be reloaded b !y  
      是否国际化信息自动加载 M>|ZBEK  
x`FTy&g  
struts.locale t#@z_Mn\  
      The default locale for the Struts application ,Jh#$mil  
      默认的国际化地区信息 @"BhKUoV$K  
KO7&dM  
struts.mapper.class f^*Yqa  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >e& L"  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 7V8k =  
NiWAJ]Z  
struts.multipart.maxSize }:{9!RMO  
      The maximize size of a multipart request (file upload) j{r@>g;3  
      multipart请求信息的最大尺寸(文件上传用) ?>U=bA  
+p63J  
struts.multipart.parser 9Bw#VQ  
      The org.apache.struts2.dispatcher.multipart. }eW<P079  
      MultiPartRequest parser implementation for a multipart request (file upload) mv#hy  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z1I.f"XY  
37kVJQcA1  
^+CWo@.  
struts.multipart.saveDir L%(NXSfu7  
      The directory to use for storing uploaded files Pzq^x]  
      设置存储上传文件的目录夹 9Q}g Vqn  
I<CrEL<5}~  
struts.objectFactory qPD(D{,f$  
      The com.opensymphony.xwork2.ObjectFactory implementation class qbD 7\%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) EpNN!s=Q  
\/<VJB uV  
struts.objectFactory.spring.autoWire 7I'C'.6iM  
      Whether Spring should autoWire or not ~  z3J4s  
      是否自动绑定Spring >W8"Ar  
1P[x.t#  
struts.objectFactory.spring.useClassCache 8U(o@1PT  
      Whether Spring should use its class cache or not [tof+0Y6  
      是否spring应该使用自身的cache %Z<{CV  
Q&vdBO/  
struts.objectTypeDeterminer ~G@YA8}  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ha$1vi}b  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 65dMv*{  
d,^ZH  
struts.serve.static.browserCache RZV6;=/  
If static content served by the Struts filter should set browser caching header properties or not *E/ Mf  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~WTkX(\  
8ta @@h  
struts.serve.static C0/^6Lu"o  
      Whether the Struts filter should serve static content or not {icTfPR4E  
      是否struts过滤器应该提供静态内容 ("t'XKP&N  
bA,Zfsr6#  
struts.tag.altSyntax mi<Q3;m  
      Whether to use the alterative syntax for the tags or not O+|C<;K  
      是否可以用替代的语法替代tags n<j+KD#a  
Pb>/b\&JS  
struts.ui.templateDir YLQ0UeDN'  
      The directory containing UI templates ws5Ue4g|  
      UI templates的目录夹 z9[TjTH^}T  
WYTqQqQk  
struts.ui.theme #f) TAA  
      The default UI template theme K&%CeUa  
      默认的UI template主题 ~qeFSU(  
tF} ^  
struts.url.http.port ,G%UU~/a  
      The HTTP port used by Struts URLs 4>0q0}J=5  
      设置http端口 0=3)`v{S@  
X>=`l)ZR  
struts.url.https.port p__wBUB  
      The HTTPS port used by Struts URLs ceE]^X;p  
      设置https端口 c?HUW  
^@AyC"K  
struts.url.includeParams -)oUb=Lk{  
      The default includeParams method to generate Struts URLs [,Go*r  
      在url中产生 默认的includeParams }' AY#g  
; $80}TY '  
a24 AmoWx  
struts.velocity.configfile bg-/ 8,  
      The Velocity configuration file path .7^(~&5N  
      velocity配置文件路径 ]<f(@]R/d  
C$6FI `J  
struts.velocity.contexts Y /_CPY  
      List of Velocity context names LZe)_9$  
      velocity的context列表 Na/Y1RW  
iOURS  
w'(/dr  
struts.velocity.manager.classname Xj/z),  
      org.apache.struts2.views.velocity.VelocityManager implementation class Icrnu}pl_  
      org.apache.struts2.views.velocity.VelocityManager接口名 Ha-]U:Vcx  
U[f00m5{HV  
struts.velocity.toolboxlocation ?$109wZ:9  
      The location of the Velocity toolbox N5=BjXS Ag  
      velocity工具盒的位置 1Y'4 g3T  
struts.xslt.nocache nPXP9wmh4x  
      Whether or not XSLT templates should not be cached A,DBq9Z+4R  
      是否XSLT模版应该被缓存 D1xGUz2r  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八