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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >#k- ~|w  
w,$qsmR  
struts.action.extension U+@U/s%8  
      The URL extension to use to determine if the request is meant for a Struts action [.1ME lM  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 PMV,*`"9"A  
Z7RBJK7|.  
struts.configuration :GO"bsjL  
      The org.apache.struts2.config.Configuration implementation class Y[dq"  
        org.apache.struts2.config.Configuration接口名 %dv?n#Uf  
M +r!63T  
struts.configuration.files $(Mz@#%  
      A list of configuration files automatically loaded by Struts 7.6L1srV  
      struts自动加载的一个配置文件列表 ?s3S$Ih  
`fTM/"  
struts.configuration.xml.reload ,"XiI$Le  
      Whether to reload the XML configuration or not +yHz7^6-5  
      是否加载xml配置(true,false) c38XM]Jeq  
-TH MTRFz  
struts.continuations.package .V?[<}OJn  
      The package containing actions that use Rife continuations mbGma  
      含有actions的完整连续的package名称 l-l7jq]R  
y& 1@d+Lf  
struts.custom.i18n.resources ?1a9k@[t  
      Location of additional localization properties files to load ne/JC(  
      加载附加的国际化属性文件(不包含.properties后缀) Jk6}hUH,  
\m G Y'0  
struts.custom.properties T9H*]LxK  
      Location of additional configuration properties files to load L/V^#$  
      加载附加的配置文件的位置 qS FtQ4  
jWv'`c  
F!wz{i6\h  
struts.devMode oSC'b%  
      Whether Struts is in development mode or not W>)0=8#\  
      是否为struts开发模式 mpMAhm:  
%.<_+V#h  
struts.dispatcher.parametersWorkaround $t(v `,  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic '.(Gg%*\.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o1x1SH  
,7]hjf_h  
struts.enable.DynamicMethodInvocation A>1$?A8Q  
      Allows one to disable dynamic method invocation from the URL O9(z"c  
        允许动态方法调用 y~@zfJ5/^  
Kbf(P95+uL  
struts.freemarker.manager.classname vjlN@ "  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Q>Zc eJ;  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 g-~ _gt7  
U`mX f#D  
struts.i18n.encoding bIAE?D  
      The encoding to use for localization messages 0f.j W O  
      国际化信息内码 <ak[`]  
2 HEU  
struts.i18n.reload dD=$$( je  
      Whether the localization messages should automatically be reloaded ?<TJ}("/  
      是否国际化信息自动加载 49$<:{~  
7upko9d/  
struts.locale h @!p:]  
      The default locale for the Struts application hx$61 E=  
      默认的国际化地区信息 7GYf#} N  
:^v Q4/,  
struts.mapper.class jTvcKm|q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %+N]$Q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *;Mi/^pzK  
|'nQvn:{  
struts.multipart.maxSize < $0is:]  
      The maximize size of a multipart request (file upload) 4a+gM._+O  
      multipart请求信息的最大尺寸(文件上传用) b-sN#'TDg  
dm4Q'u  
struts.multipart.parser ` 3qf}=Z`  
      The org.apache.struts2.dispatcher.multipart. 2@<_,'  
      MultiPartRequest parser implementation for a multipart request (file upload) 49~d6fH  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~v.mbh  
vSH,fS-n  
Q'/sP 5Pj  
struts.multipart.saveDir ERpAV-Zf  
      The directory to use for storing uploaded files Zj2 si  
      设置存储上传文件的目录夹 ,X4+i8Yc  
[-])$~WfW  
struts.objectFactory U]=yCEb8p  
      The com.opensymphony.xwork2.ObjectFactory implementation class z'EQdQ)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) hul,Yd) Z  
6dRhK+|  
struts.objectFactory.spring.autoWire f^ui Zb  
      Whether Spring should autoWire or not 4]h/t&ppq  
      是否自动绑定Spring tDX& ~1s  
pj$JA  
struts.objectFactory.spring.useClassCache dFy$w=  
      Whether Spring should use its class cache or not s5nw<V9$]  
      是否spring应该使用自身的cache -3{Q`@F  
XB7Aa)  
struts.objectTypeDeterminer lFnls6dp  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class EAGvP&~P  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 hv|a8=U!R  
ny5 P*yWEh  
struts.serve.static.browserCache [iub}e0  
If static content served by the Struts filter should set browser caching header properties or not 9|1msg4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $r/$aq=K  
im2mA8OH  
struts.serve.static #'_#t/u  
      Whether the Struts filter should serve static content or not .| 4P :r  
      是否struts过滤器应该提供静态内容 4v\HaOk  
"?NDN4l*  
struts.tag.altSyntax s6,~J F^  
      Whether to use the alterative syntax for the tags or not TTz=*t+D  
      是否可以用替代的语法替代tags ]y_ :+SHc  
@7twe;07r  
struts.ui.templateDir -tj#BEC[H(  
      The directory containing UI templates `Nx@MPo  
      UI templates的目录夹 Z7a@$n3h  
WNGX`V,d  
struts.ui.theme >Ku4Il+36  
      The default UI template theme :?6HG_9X  
      默认的UI template主题 pl`4&y%Me  
&n6{wtBP  
struts.url.http.port wk|+[Rl;L  
      The HTTP port used by Struts URLs -V/y~/]J  
      设置http端口 ^k=<+*9  
NfV|c~?d  
struts.url.https.port v-}f P  
      The HTTPS port used by Struts URLs EN!C5/M{&  
      设置https端口 g,Ob/g8uc  
qVC+q8  
struts.url.includeParams E>bkEm  
      The default includeParams method to generate Struts URLs 5whW>T  
      在url中产生 默认的includeParams r3'J{-kl  
4$xVm,n|  
I%5vI}  
struts.velocity.configfile n n7LL+h  
      The Velocity configuration file path Q,KNZxT,q  
      velocity配置文件路径 6!\V|  
.-Lrrk)R+  
struts.velocity.contexts >v+1 v  
      List of Velocity context names a !VWWUTm?  
      velocity的context列表 ip-X r|Bq  
|a{; <a  
Nny*C`uDF  
struts.velocity.manager.classname q\EYsN</;  
      org.apache.struts2.views.velocity.VelocityManager implementation class W=+n |1  
      org.apache.struts2.views.velocity.VelocityManager接口名 @xWWN  
@_ %RQO_X  
struts.velocity.toolboxlocation cMY}Y [2c  
      The location of the Velocity toolbox <?.eU<+O`S  
      velocity工具盒的位置 A9xe Oy8e  
struts.xslt.nocache //63|;EEkl  
      Whether or not XSLT templates should not be cached Fv^zSoi2  
      是否XSLT模版应该被缓存 1&boD\ 7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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