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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]SAGh|+xl  
Ei<m/v  
struts.action.extension GkxQEL  
      The URL extension to use to determine if the request is meant for a Struts action (}5};v  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 xS(VgP&YGO  
Zt& 7p  
struts.configuration z6Fl$FFP  
      The org.apache.struts2.config.Configuration implementation class ay =B<|!  
        org.apache.struts2.config.Configuration接口名 Y(] W+k<  
3&I3ViAH  
struts.configuration.files R|k:8v{V=  
      A list of configuration files automatically loaded by Struts >;]S+^dXY  
      struts自动加载的一个配置文件列表 m70AWG  
2%v6h  
struts.configuration.xml.reload 2Jky,YLcb  
      Whether to reload the XML configuration or not p-m\0tQ  
      是否加载xml配置(true,false) D^xg2D  
TV|Z$,6l  
struts.continuations.package \?wKs  
      The package containing actions that use Rife continuations aTfc>A;  
      含有actions的完整连续的package名称  #]QS   
/eT9W[a  
struts.custom.i18n.resources vTo+jQs^  
      Location of additional localization properties files to load @#*{* S8  
      加载附加的国际化属性文件(不包含.properties后缀) PdEPDyFkh  
E^Ch;)j|  
struts.custom.properties W0;QufV  
      Location of additional configuration properties files to load v-8{mK`9\  
      加载附加的配置文件的位置 S?zP; iFj  
!acuOBv,  
~Y{]yBGoF  
struts.devMode [?=DPE%  
      Whether Struts is in development mode or not GO"E>FyB  
      是否为struts开发模式 elR1NhB|p  
?&!!(dWFH  
struts.dispatcher.parametersWorkaround cuI&Q?+c}  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  )y6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) W4qnXD1n  
"$b{EYq6  
struts.enable.DynamicMethodInvocation mE=Tj%+ x  
      Allows one to disable dynamic method invocation from the URL mKE' l'9A_  
        允许动态方法调用 ,S m?2<  
dNCd-ep  
struts.freemarker.manager.classname (#x&Y#5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class YzJWS|]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \ KsKb0sM  
S|;}]6p  
struts.i18n.encoding C?MKb D=K  
      The encoding to use for localization messages J7`;l6+Gb  
      国际化信息内码 F&#I[]#  
?v-!`J>EF#  
struts.i18n.reload <Fv7JPN%  
      Whether the localization messages should automatically be reloaded Z"KrirZ  
      是否国际化信息自动加载 )iVuac]E++  
gv&Hu$ ca  
struts.locale "r8N- h/P  
      The default locale for the Struts application asE.!g?  
      默认的国际化地区信息 f =A#:d  
\F\xZ.r  
struts.mapper.class ,&s"f4Mft  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &|h9L'mr  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 dtj b(*x  
/1m+iM^V  
struts.multipart.maxSize zTl,VIa3p  
      The maximize size of a multipart request (file upload) /!.]Y8yEH  
      multipart请求信息的最大尺寸(文件上传用) ]dV $H  
i5_l//]  
struts.multipart.parser h#dfhcU>  
      The org.apache.struts2.dispatcher.multipart. (WP^}V5  
      MultiPartRequest parser implementation for a multipart request (file upload) O2f-{jnTz,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) hQz1zG`z7  
({$rb-  
}IdkXAB.  
struts.multipart.saveDir pV!WZ Ufg  
      The directory to use for storing uploaded files ]GsI|se  
      设置存储上传文件的目录夹 eht>4)  
<u1`o`|-  
struts.objectFactory PBcb*7W  
      The com.opensymphony.xwork2.ObjectFactory implementation class E70o nR!i  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^; }Y ZBy  
hSN38wy  
struts.objectFactory.spring.autoWire *.VNyay  
      Whether Spring should autoWire or not -G'3&L4 D  
      是否自动绑定Spring *y` (^kyS  
)c 79&S  
struts.objectFactory.spring.useClassCache W&[-QM8  
      Whether Spring should use its class cache or not w'y,$gtX/  
      是否spring应该使用自身的cache NO/5pz}1  
et(AO)uv6  
struts.objectTypeDeterminer 5d# 73)x$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rd24R-6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 pX$ X8z%  
e5"5 U7  
struts.serve.static.browserCache j0n.+CO-{  
If static content served by the Struts filter should set browser caching header properties or not 8%a ^j\L  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 EN,}[^Z  
Qw"%Xk  
struts.serve.static V^>< =DNE  
      Whether the Struts filter should serve static content or not ICc:k%wE7  
      是否struts过滤器应该提供静态内容 Id>I.e4  
dl`{:ZR S  
struts.tag.altSyntax V?jWp$  
      Whether to use the alterative syntax for the tags or not wS >S\,LV  
      是否可以用替代的语法替代tags myd:"u,}9  
W A*1_  
struts.ui.templateDir I= cayR  
      The directory containing UI templates ~~m(CJ4S  
      UI templates的目录夹 \>{;,f  
@~&^1%37)  
struts.ui.theme m,}GP^<1i  
      The default UI template theme 6!;D],,"#.  
      默认的UI template主题 HXPq+  
K*p3#iB  
struts.url.http.port 0h{&k7T<7  
      The HTTP port used by Struts URLs m9-=Y{&/  
      设置http端口 b d C  
x`2du/ C  
struts.url.https.port X/m~^  
      The HTTPS port used by Struts URLs 58eO|c(  
      设置https端口 VtGZB3  
9;L8%T (  
struts.url.includeParams M~+DxnJ=  
      The default includeParams method to generate Struts URLs hZ "Sqm]  
      在url中产生 默认的includeParams d b *J  
n?9FJOqi  
H6/gRv@  
struts.velocity.configfile \Xr*1DI<  
      The Velocity configuration file path F6>oGmLy  
      velocity配置文件路径 vkeZ!klYB  
k-)Ls~#+  
struts.velocity.contexts IA`Lp3Z  
      List of Velocity context names (Ap?ixrR_  
      velocity的context列表 J=HN~B1  
'T;;-M3*  
I<+:Ho=6  
struts.velocity.manager.classname d"Zyc(Jk  
      org.apache.struts2.views.velocity.VelocityManager implementation class I8YCXh  
      org.apache.struts2.views.velocity.VelocityManager接口名 s%RG_"l  
dfZ`M^NU  
struts.velocity.toolboxlocation 4Tb"+Y}  
      The location of the Velocity toolbox Tk `|{Ph0  
      velocity工具盒的位置 ,R-aO= %  
struts.xslt.nocache #wZH.i #  
      Whether or not XSLT templates should not be cached Qd>\{$N  
      是否XSLT模版应该被缓存 O%px>rdkY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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