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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 KfWVz*DC!  
Z#>k:v  
struts.action.extension 5 qG7LO.  
      The URL extension to use to determine if the request is meant for a Struts action N3r{|Bu  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 fgl"ox  
15U=2j*.b  
struts.configuration 'L3 \I  
      The org.apache.struts2.config.Configuration implementation class |}q0 G~l  
        org.apache.struts2.config.Configuration接口名 s/sH",  
o?p) V^7  
struts.configuration.files HE+VanY![  
      A list of configuration files automatically loaded by Struts B7 }-g"p$/  
      struts自动加载的一个配置文件列表 6/@ cP/  
r7ywK9UL  
struts.configuration.xml.reload uaJ5'*  
      Whether to reload the XML configuration or not pBL{DgX  
      是否加载xml配置(true,false) Y60ld7H  
|nD2k,S<?  
struts.continuations.package s977k2pp-  
      The package containing actions that use Rife continuations 4sZ^:h,1  
      含有actions的完整连续的package名称 0U`Ic_.  
=nid #<X  
struts.custom.i18n.resources zy$hDy0  
      Location of additional localization properties files to load KM0#M'dXy  
      加载附加的国际化属性文件(不包含.properties后缀) >t*zY~R.  
{b/AOR o  
struts.custom.properties Xx?Jt  
      Location of additional configuration properties files to load G =< KAJ  
      加载附加的配置文件的位置 |UR.7rOV  
E/s3@-/  
JxD@y}ZYE  
struts.devMode 'a"<uk3DT  
      Whether Struts is in development mode or not ;xth#j  
      是否为struts开发模式 C 7+TnJ  
*^.b}K%  
struts.dispatcher.parametersWorkaround HHEFX9u  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic dc?Yk3(Y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /;.M$}Z>`  
N(1jm F  
struts.enable.DynamicMethodInvocation t1ZZru'r  
      Allows one to disable dynamic method invocation from the URL Rut6m5>  
        允许动态方法调用 ]L &_R^  
uN`ACc)ESi  
struts.freemarker.manager.classname h{PLyWH  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4El{2cfA  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 bJBx~  
) Fm  
struts.i18n.encoding 8u+ (+25  
      The encoding to use for localization messages Rf%ver  
      国际化信息内码 1^Caz-  
{g )kT_  
struts.i18n.reload W%h<@@c4,  
      Whether the localization messages should automatically be reloaded 7<1Y%|x`  
      是否国际化信息自动加载 BC4u,4S  
Rwy:.)7B$q  
struts.locale +[F9Q,bH@b  
      The default locale for the Struts application 6Jj)[ R\5=  
      默认的国际化地区信息 ,2kWj7H%7  
5Cz:$-+  
struts.mapper.class ^WD [>E~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qmL!"ZRLF  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $x2<D :  
|Xu7cCh$me  
struts.multipart.maxSize H"&N<"hw  
      The maximize size of a multipart request (file upload) :YV!;dKJ  
      multipart请求信息的最大尺寸(文件上传用) j5/H#_ .  
+b{h*WWdj  
struts.multipart.parser `zsKc 6%  
      The org.apache.struts2.dispatcher.multipart. Nv ew^c)x  
      MultiPartRequest parser implementation for a multipart request (file upload) !*\^-uvaK  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \+>b W(  
'Uc|[l]  
QR8F'7S  
struts.multipart.saveDir |w>DZG!}1-  
      The directory to use for storing uploaded files XSD7~X/:  
      设置存储上传文件的目录夹 U>I#f  
W&yw5rt**  
struts.objectFactory .#}SK!"B  
      The com.opensymphony.xwork2.ObjectFactory implementation class $YSOkyC?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) h\ ybh  
$qEJO=v  
struts.objectFactory.spring.autoWire %%3ugD5i!  
      Whether Spring should autoWire or not uC}YKT>V7  
      是否自动绑定Spring k1cBMDSokO  
`kz_ q/K  
struts.objectFactory.spring.useClassCache '"KK|]vJ  
      Whether Spring should use its class cache or not 4%]{46YnK  
      是否spring应该使用自身的cache c,-< 4e  
lA ,%'+-  
struts.objectTypeDeterminer \m\.+q]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5&xvY.!27V  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !C+25vup  
9\n}!{@i  
struts.serve.static.browserCache n/ 8fv~zU  
If static content served by the Struts filter should set browser caching header properties or not [NFAdE  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 dGfWRqS]  
I2/wu(~>  
struts.serve.static {:dE_tqo  
      Whether the Struts filter should serve static content or not .9E`x>C  
      是否struts过滤器应该提供静态内容 &=UzF  
)a6i8b3  
struts.tag.altSyntax h?O-13v   
      Whether to use the alterative syntax for the tags or not  K A<  
      是否可以用替代的语法替代tags tJn2:}-s  
#z~oc^J^T  
struts.ui.templateDir j IW:O  
      The directory containing UI templates IrVeP&KM+  
      UI templates的目录夹 2V0R|YUt  
:I7MP   
struts.ui.theme mB :lp=c`  
      The default UI template theme uu/M XID  
      默认的UI template主题 KOxD%bX_  
[|>.iH X  
struts.url.http.port |~/{lE=I  
      The HTTP port used by Struts URLs *83+!DV|  
      设置http端口 MaEh8*  
TwkzX|  
struts.url.https.port 6SmSu\lgV  
      The HTTPS port used by Struts URLs ewLr+8  
      设置https端口 < FJ#Hy+  
qd.b&i  
struts.url.includeParams (5I]umtge  
      The default includeParams method to generate Struts URLs l5MxJ>?4%B  
      在url中产生 默认的includeParams h>n;A>k@N  
-R8RAwsLG  
C +IXP  
struts.velocity.configfile (PNvv/A  
      The Velocity configuration file path qB&*"gf  
      velocity配置文件路径 EbW7Av  
(I+-wki"e  
struts.velocity.contexts MHbRG_zW  
      List of Velocity context names ^NCH)zK]v  
      velocity的context列表 q4Z \y  
/yOd]N;$  
CeZ5Ti?F  
struts.velocity.manager.classname *7R3EUUk  
      org.apache.struts2.views.velocity.VelocityManager implementation class $""[( d?0  
      org.apache.struts2.views.velocity.VelocityManager接口名 %d>Ktf  
mA4v  4z  
struts.velocity.toolboxlocation OUs2)H61  
      The location of the Velocity toolbox gC3{:MC-G  
      velocity工具盒的位置 m}XI?[!s  
struts.xslt.nocache -0kwS4Hx2  
      Whether or not XSLT templates should not be cached W$3p,VTMmB  
      是否XSLT模版应该被缓存 b2 ),J  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五