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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *h=|KOS  
p~ `f.q$'  
struts.action.extension N1dp%b9W(  
      The URL extension to use to determine if the request is meant for a Struts action 9cJzL"yi  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]s3U+t?  
i #5rk(^t  
struts.configuration 9EryHV|  
      The org.apache.struts2.config.Configuration implementation class y/!h.[  
        org.apache.struts2.config.Configuration接口名 !!NVx\a  
Tv d=EO  
struts.configuration.files 4%h@K(iN  
      A list of configuration files automatically loaded by Struts }Wxu=b  
      struts自动加载的一个配置文件列表 <t9#~x#'b  
%_*q'6K  
struts.configuration.xml.reload qla$}dnvc  
      Whether to reload the XML configuration or not 3GkVMYI  
      是否加载xml配置(true,false) |Gc2w]\3  
_1D'9!+   
struts.continuations.package p=T,JAIt  
      The package containing actions that use Rife continuations Ol8ma`}Nq3  
      含有actions的完整连续的package名称 "xS?#^a  
m791w8Vr  
struts.custom.i18n.resources Hu"?wZj  
      Location of additional localization properties files to load 2Z3c`/k  
      加载附加的国际化属性文件(不包含.properties后缀) _7?LINF9  
/UG H7srx  
struts.custom.properties ~(2G7x)  
      Location of additional configuration properties files to load &"vh=Z-  
      加载附加的配置文件的位置 "Dbjp5_  
/IDfGAE  
XWQp-H.  
struts.devMode joa|5v'  
      Whether Struts is in development mode or not : b^\O  
      是否为struts开发模式 sxq'uF(K  
$0[T=9q <+  
struts.dispatcher.parametersWorkaround MjIp~?*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic tOn_S@/r  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;U6z|O7L  
1-.UkdZ}  
struts.enable.DynamicMethodInvocation Vj^<V|=  
      Allows one to disable dynamic method invocation from the URL AplXl=  
        允许动态方法调用 vh8{*9+  
:G#>):  
struts.freemarker.manager.classname mz\d>0F U.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class XP Nk#"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Jj:4l~b,w  
B2UQO4[w  
struts.i18n.encoding (uB evU\  
      The encoding to use for localization messages _h#SP+>  
      国际化信息内码 5f&+(Wqw  
*M*:3 v 0  
struts.i18n.reload ZU%7m_zO  
      Whether the localization messages should automatically be reloaded (/J$2V5-  
      是否国际化信息自动加载 86J7%;^Xa  
5;=,BWU  
struts.locale a =LjFpv/]  
      The default locale for the Struts application rYI9?q  
      默认的国际化地区信息 LD]>_P83  
4u;db_gX  
struts.mapper.class sWp]Zy  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \TM%,RC3K  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *c}MI e'&  
qp>V\h\  
struts.multipart.maxSize 9o7E/wP  
      The maximize size of a multipart request (file upload) Rn={:u4  
      multipart请求信息的最大尺寸(文件上传用) Hd(|fc{2  
MqXN,n+`k  
struts.multipart.parser MH{$"^K  
      The org.apache.struts2.dispatcher.multipart. D4?qw$"  
      MultiPartRequest parser implementation for a multipart request (file upload) V9 <!pMj  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %zg&eFRHI  
31b9pi}nf  
/JPyADi  
struts.multipart.saveDir wTBp=)1)f  
      The directory to use for storing uploaded files q7-Eu4w  
      设置存储上传文件的目录夹 I>X_j)  
\D8d!gr  
struts.objectFactory v%t "N  
      The com.opensymphony.xwork2.ObjectFactory implementation class $N[-ks2 {@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Y$8 >fv  
kJP fL s  
struts.objectFactory.spring.autoWire ]Y!$HT7\  
      Whether Spring should autoWire or not Jt6~L5[_s  
      是否自动绑定Spring X5kIM\  
W2Y%PD9a  
struts.objectFactory.spring.useClassCache XjpFJ#T*$A  
      Whether Spring should use its class cache or not e6{}hiM  
      是否spring应该使用自身的cache 1X\dH<B}  
]wLHe2bE u  
struts.objectTypeDeterminer U#v??Sl  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [bH5UTA  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 j>s> i  
X^4HYm  
struts.serve.static.browserCache 9H5S@w[je  
If static content served by the Struts filter should set browser caching header properties or not Qn> 0s  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (I~-mzu\  
BR5r K  
struts.serve.static V[>MKB(  
      Whether the Struts filter should serve static content or not Y=JfV  
      是否struts过滤器应该提供静态内容 Nq>74q]}n8  
Ct[{>asun  
struts.tag.altSyntax ^S*~<0NQ'  
      Whether to use the alterative syntax for the tags or not aNgaV$|2a  
      是否可以用替代的语法替代tags L1#z'<IO  
ws:@Pe4AF  
struts.ui.templateDir |}paa  
      The directory containing UI templates A$G>D3  
      UI templates的目录夹 &CW,qY,sh  
)&[S*g  
struts.ui.theme F3/aq+<P[  
      The default UI template theme $fSV8n;Y  
      默认的UI template主题 -Y'Qa/:7  
{f] K3V  
struts.url.http.port O:'UsI1Y  
      The HTTP port used by Struts URLs j`1% a]Bwc  
      设置http端口 k mjSSh/t  
&i*/}OZz  
struts.url.https.port [@MV[$W5  
      The HTTPS port used by Struts URLs ,.Ac= "f  
      设置https端口 =}5;rK  
)F;`07  
struts.url.includeParams 8:c[_3w  
      The default includeParams method to generate Struts URLs _+%RbJ~H  
      在url中产生 默认的includeParams VYj hU?I  
*"#62U6  
FCxLL"))  
struts.velocity.configfile nff&~lwhZ  
      The Velocity configuration file path F)KUup)gc  
      velocity配置文件路径 NDLk+n  
E!;giPq*n  
struts.velocity.contexts uNe5Mv|}  
      List of Velocity context names 3B:U>F,]4  
      velocity的context列表 !P7&{I,e  
,Z*Fo: q  
o|lEF+  
struts.velocity.manager.classname RYzDF+/  
      org.apache.struts2.views.velocity.VelocityManager implementation class Y3G$(+i8  
      org.apache.struts2.views.velocity.VelocityManager接口名 ]MJyBz+k  
JgXP2|Y!  
struts.velocity.toolboxlocation Ld>y Fb(`  
      The location of the Velocity toolbox qCg`"/0  
      velocity工具盒的位置 24Lo .  
struts.xslt.nocache tW;?4}JR  
      Whether or not XSLT templates should not be cached kxU <?0  
      是否XSLT模版应该被缓存 86!"b  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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