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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 OAigq6[,  
y?=W  
struts.action.extension zED#+-7  
      The URL extension to use to determine if the request is meant for a Struts action yx5F]Z<M2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 b-*3]gB  
6P,vGmR  
struts.configuration ]U[y3  
      The org.apache.struts2.config.Configuration implementation class :`u?pc27Sm  
        org.apache.struts2.config.Configuration接口名 WFWQ;U{|  
^gw htnI  
struts.configuration.files Y~I$goT  
      A list of configuration files automatically loaded by Struts GMk\ l  
      struts自动加载的一个配置文件列表 _#[~?g`  
SCwAAE9s]  
struts.configuration.xml.reload RF3?q6j ,  
      Whether to reload the XML configuration or not (EW<Ggi  
      是否加载xml配置(true,false) 5>9KW7^L  
[3$L}m  
struts.continuations.package HCBZ*Z-  
      The package containing actions that use Rife continuations FHztF$Z  
      含有actions的完整连续的package名称 $db]b  
1D2Uomd(  
struts.custom.i18n.resources {u!Q=D$3  
      Location of additional localization properties files to load L'i0|_  
      加载附加的国际化属性文件(不包含.properties后缀) eAqSY s!1  
nP]tc  
struts.custom.properties Q?"o.T';  
      Location of additional configuration properties files to load zzlqj){F  
      加载附加的配置文件的位置 JFOto,6L:  
XKp$v']u  
E`E$ }iLs  
struts.devMode +IS+!K0?)  
      Whether Struts is in development mode or not )-qWcf?   
      是否为struts开发模式 TcB^Sctf  
-Iq W@|N  
struts.dispatcher.parametersWorkaround ~bm VpoI  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }E o\=>l7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) PK&3nXF%4  
D.7,xgH  
struts.enable.DynamicMethodInvocation +SM&_b  
      Allows one to disable dynamic method invocation from the URL 9gu$vF]9!  
        允许动态方法调用 w$5~'Cbi  
!v/j*'L<M}  
struts.freemarker.manager.classname [cJQ"G '  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %62W[Oh5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $O\I9CGr$  
cZ8lRVaWW  
struts.i18n.encoding |\HYq`!g%7  
      The encoding to use for localization messages x" N{5  
      国际化信息内码 g>k"R4  
oAnNdo  
struts.i18n.reload A/bxxB7w  
      Whether the localization messages should automatically be reloaded 3HtLD5%Q  
      是否国际化信息自动加载 ?(C(9vO  
U,G!u=+  
struts.locale Drn{ucIs  
      The default locale for the Struts application Kmk}Yz  
      默认的国际化地区信息 Z`_`^ \"  
Fe:M'.  
struts.mapper.class Cx N]fo  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2/*F}w/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #9R[%R7Nz  
I JPpF`  
struts.multipart.maxSize o0yyP,?yh  
      The maximize size of a multipart request (file upload) sObH#/l`  
      multipart请求信息的最大尺寸(文件上传用) 7z.(pg=  
KOQiX?'  
struts.multipart.parser Z.Otci>J  
      The org.apache.struts2.dispatcher.multipart. R1!F mZW8  
      MultiPartRequest parser implementation for a multipart request (file upload) C]X:@^Hy  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^A&i$RRO  
jwP}{mi*  
{"^LUw8fd  
struts.multipart.saveDir q+j.)e  
      The directory to use for storing uploaded files s=[Tm}[  
      设置存储上传文件的目录夹 uq/z.m  
Sio> QL Y  
struts.objectFactory ,^Cl?\9"  
      The com.opensymphony.xwork2.ObjectFactory implementation class Nu/D$m'PY  
      com.opensymphony.xwork2.ObjectFactory接口(spring) o+NPe36  
73n|G/9n[  
struts.objectFactory.spring.autoWire z XI [f  
      Whether Spring should autoWire or not >"OwdAvX  
      是否自动绑定Spring 7g* "AEk  
;8| D4+  
struts.objectFactory.spring.useClassCache $0-}|u]5U  
      Whether Spring should use its class cache or not 7@[HRr  
      是否spring应该使用自身的cache 8vk*",  
fX:)mLnO/  
struts.objectTypeDeterminer mYU7b8x_  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k`j>lhH  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 zC@ ziH>{]  
{S9't;%]  
struts.serve.static.browserCache +%O_xqq  
If static content served by the Struts filter should set browser caching header properties or not ">8]Oi;g  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /J0YF  
>AtW  
struts.serve.static b `W2^/D  
      Whether the Struts filter should serve static content or not 3 s@6pI  
      是否struts过滤器应该提供静态内容 ^)JUl!5j]C  
|8QXjzH  
struts.tag.altSyntax 2H,^i,  
      Whether to use the alterative syntax for the tags or not FW~{io]n  
      是否可以用替代的语法替代tags .Mn_T*F  
U<pG P  
struts.ui.templateDir pCB^\M%*  
      The directory containing UI templates &-S;.}  
      UI templates的目录夹 BLepCF38  
)A@ }mIs"  
struts.ui.theme Ok0zgi  
      The default UI template theme tQrF A2F  
      默认的UI template主题 .C 6wsmQ  
@Cnn8Y&'  
struts.url.http.port }3b3^f  
      The HTTP port used by Struts URLs f1Z  
      设置http端口 LTn@OhC  
%^`b)   
struts.url.https.port ^~p^N <  
      The HTTPS port used by Struts URLs {6y@;Fd  
      设置https端口 wqB 5KxO  
v$WH#;(\  
struts.url.includeParams 8\AyKw  
      The default includeParams method to generate Struts URLs i)@IV]]6yL  
      在url中产生 默认的includeParams jX9{Ki"  
g9T9TQ-O  
+#B4Z'nT  
struts.velocity.configfile 1X ?9Ji)h  
      The Velocity configuration file path QbN7sg~~  
      velocity配置文件路径 slQxz;t  
x|7vN E=Q  
struts.velocity.contexts $!'S7;*uW  
      List of Velocity context names mY)Y47iL  
      velocity的context列表 =\QKzQ'BC  
#mK/xbW  
:jKiHeBQu?  
struts.velocity.manager.classname n#US4&uT4A  
      org.apache.struts2.views.velocity.VelocityManager implementation class -T,/S^  
      org.apache.struts2.views.velocity.VelocityManager接口名 Y%OJ3B(n|  
(O[:-Aqm  
struts.velocity.toolboxlocation !ek};~(  
      The location of the Velocity toolbox %(P\"hE'  
      velocity工具盒的位置 -(Zi  
struts.xslt.nocache #4yh-D"  
      Whether or not XSLT templates should not be cached '\,|B x8Q  
      是否XSLT模版应该被缓存 ?k 4|;DD  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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