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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }v`5  
O<fbO7.-  
struts.action.extension IXg0g<JZ  
      The URL extension to use to determine if the request is meant for a Struts action *vht</?J  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 'y@0P5[se  
#*5A]"k  
struts.configuration wL~ dZ! ,J  
      The org.apache.struts2.config.Configuration implementation class pm^[ve  
        org.apache.struts2.config.Configuration接口名 SFTThM]8M1  
u"nyx0<  
struts.configuration.files U)N;=gr\  
      A list of configuration files automatically loaded by Struts Bisht%]^  
      struts自动加载的一个配置文件列表 ;|66AIwDe  
<wa}A!fu  
struts.configuration.xml.reload +[:}<^p?cG  
      Whether to reload the XML configuration or not ZfS-W&6Z  
      是否加载xml配置(true,false) ,myl9s  
dKhDO`.s  
struts.continuations.package 7|*|xLrVY  
      The package containing actions that use Rife continuations O]`CSTv'_  
      含有actions的完整连续的package名称 BJ1txdxvS  
cSQvP.  
struts.custom.i18n.resources jf@#&%AC9  
      Location of additional localization properties files to load RaKL KZn  
      加载附加的国际化属性文件(不包含.properties后缀) Q@nxGm  
`G,\=c~{A  
struts.custom.properties c)+IX;q-C  
      Location of additional configuration properties files to load 0OP6VZ\  
      加载附加的配置文件的位置 }3ty2D#/:  
c=h{^![$  
u9_ Fjm}&  
struts.devMode _=}Efy7  
      Whether Struts is in development mode or not = T!iM2  
      是否为struts开发模式  5'Y @c  
vQ$FMKz7  
struts.dispatcher.parametersWorkaround vA*!82  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic vaW, O/F  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Yc&yv  
<T,vIXwu+  
struts.enable.DynamicMethodInvocation m6bAvy]3<t  
      Allows one to disable dynamic method invocation from the URL -$>R;L  
        允许动态方法调用 ,)[u<&  
Tm 6<^5t  
struts.freemarker.manager.classname aTxss:7]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $~75/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 :D""c*  
fq48>"g*  
struts.i18n.encoding WnyEdYA  
      The encoding to use for localization messages nRzD[ 3I  
      国际化信息内码 }.>( [\ q  
TmxhP nJ~  
struts.i18n.reload :?S1#d_  
      Whether the localization messages should automatically be reloaded S-NKT(H)c  
      是否国际化信息自动加载 zW+X5yK  
tURjIt,I  
struts.locale <%Zg;]2H`  
      The default locale for the Struts application 9w9[0BX#  
      默认的国际化地区信息 e$u=>=jV]  
P-o/ax  
struts.mapper.class |4^us|XY  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9)9p<(b $  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ry)g<OA  
QpxRYv  
struts.multipart.maxSize OGpy\0%  
      The maximize size of a multipart request (file upload) Up*1j:_O  
      multipart请求信息的最大尺寸(文件上传用) M=:!d$c  
Wn6~x2LaV  
struts.multipart.parser O9?t,1  
      The org.apache.struts2.dispatcher.multipart. 7}>Zq`]~  
      MultiPartRequest parser implementation for a multipart request (file upload) a~ sU  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) T#KF@8'-  
?y_W%og W  
n,/eT,48`  
struts.multipart.saveDir 1?%Q"*Y&  
      The directory to use for storing uploaded files Hz~?"ts@;  
      设置存储上传文件的目录夹 *'[8FZ|dQ  
je LRS8];  
struts.objectFactory 69/aP=  
      The com.opensymphony.xwork2.ObjectFactory implementation class v% a)nv  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Ck.LsL-  
IC"lsNq52  
struts.objectFactory.spring.autoWire \vwsRT 1  
      Whether Spring should autoWire or not ^F\RM4|,  
      是否自动绑定Spring >1uo5,wrF  
M:TN^ rA|  
struts.objectFactory.spring.useClassCache <5@VFRjc  
      Whether Spring should use its class cache or not y#tuwzE  
      是否spring应该使用自身的cache u*}[fQ`aF  
T<XGG_NOl  
struts.objectTypeDeterminer $mgamWNE8w  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (B+CI%= D  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 w8veh[%3n  
}OZut!_  
struts.serve.static.browserCache t"# .I?S0  
If static content served by the Struts filter should set browser caching header properties or not ;|yd}q=p  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }SD*@w  
C?dQ QB$  
struts.serve.static lQ&"p+n  
      Whether the Struts filter should serve static content or not \iL{q^Im  
      是否struts过滤器应该提供静态内容 D@W[Nd5MJ  
=#=<%HPT  
struts.tag.altSyntax Y["aw&;#O\  
      Whether to use the alterative syntax for the tags or not n<,:;0{  
      是否可以用替代的语法替代tags U~3uu &/r  
lu8*+.V  
struts.ui.templateDir 7WwE] ^M  
      The directory containing UI templates xP,b/T #a  
      UI templates的目录夹 ,ga6   
I]DD5l}\  
struts.ui.theme Lx tgf2r  
      The default UI template theme P8Wv&5A  
      默认的UI template主题 0)M8Tm0$  
VZq~ -$  
struts.url.http.port GGf<9!:  
      The HTTP port used by Struts URLs >,E^ R`y  
      设置http端口 PfZS"yk  
#=VYq4B=  
struts.url.https.port O=;jDWE  
      The HTTPS port used by Struts URLs ZPyzx\6\  
      设置https端口 UoPY:(?;i  
7}g4ePYag  
struts.url.includeParams z~ywFk}KGd  
      The default includeParams method to generate Struts URLs Z %Ozzp/  
      在url中产生 默认的includeParams yIrJaS-  
IvT><8<G  
 ?C#E_  
struts.velocity.configfile fCwE1r*^  
      The Velocity configuration file path R(`:~@ 3\6  
      velocity配置文件路径 wapSpSt  
A4'5cR9T!  
struts.velocity.contexts -(t7>s  
      List of Velocity context names NC#F:M;b  
      velocity的context列表 __2<v?\  
u '7h(1@  
t* =[RS*  
struts.velocity.manager.classname An$2='=/  
      org.apache.struts2.views.velocity.VelocityManager implementation class >WIc"y.  
      org.apache.struts2.views.velocity.VelocityManager接口名 fEX=csZ86  
3iIy_nWC  
struts.velocity.toolboxlocation aL( hWE  
      The location of the Velocity toolbox D%abBE1  
      velocity工具盒的位置 8.[F3Tk=  
struts.xslt.nocache B*,)@h  
      Whether or not XSLT templates should not be cached $[A\i<#  
      是否XSLT模版应该被缓存 5$: toL  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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