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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }Jgz#d  
a<[@p  
struts.action.extension 1@H3!V4  
      The URL extension to use to determine if the request is meant for a Struts action MdWT[  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0j1I  
hIw<gb4J%  
struts.configuration qPpC)6-Q  
      The org.apache.struts2.config.Configuration implementation class 5vL]Y)l  
        org.apache.struts2.config.Configuration接口名 AR?J[e  
$H/3t?6h`  
struts.configuration.files ~PUz/^^ s  
      A list of configuration files automatically loaded by Struts w$7*za2  
      struts自动加载的一个配置文件列表 33\{S$p  
\HDRr*KO  
struts.configuration.xml.reload )jp#|#h  
      Whether to reload the XML configuration or not B_[^<2_  
      是否加载xml配置(true,false) 'Z-jj2t}  
!V.'~xj  
struts.continuations.package S)GWr"m-  
      The package containing actions that use Rife continuations 6ZVJ2xs[%  
      含有actions的完整连续的package名称 .3,s4\.kT  
JQ%`]=n(/  
struts.custom.i18n.resources J%3%l5 /  
      Location of additional localization properties files to load Z^AACKME  
      加载附加的国际化属性文件(不包含.properties后缀) ">kf X1LT  
N`/6 By  
struts.custom.properties W:P4XwR{  
      Location of additional configuration properties files to load Ku_`F2Q  
      加载附加的配置文件的位置 77OH.E|$  
]OHzE]Q  
p~28?lYv  
struts.devMode xX  
      Whether Struts is in development mode or not 4.7ePbk[E  
      是否为struts开发模式 Gu&?Gn oc  
fw_V'l#\  
struts.dispatcher.parametersWorkaround ^zQ;8)ng  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic i7}) VDsZ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) u(SdjLf:  
;y?,myO  
struts.enable.DynamicMethodInvocation \{n]&IjA  
      Allows one to disable dynamic method invocation from the URL .8CR \-  
        允许动态方法调用 LZyUlz  
lC.Yu$O5  
struts.freemarker.manager.classname 0vUX^<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &?*M+q34  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 AFl]w'=  
iy8U rgG;l  
struts.i18n.encoding U\y];\~H  
      The encoding to use for localization messages [[?:,6I  
      国际化信息内码 w1aa5-aF  
?G1-X~Z8  
struts.i18n.reload H.j(hc'  
      Whether the localization messages should automatically be reloaded G;FY2;adK  
      是否国际化信息自动加载 `w]=x e  
w@ 4q D  
struts.locale \no[>L]  
      The default locale for the Struts application *:3flJt  
      默认的国际化地区信息 y-{^L`%Mk  
GLt#]I"LY  
struts.mapper.class ooByGQ90V:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )=;0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ym-uElWo  
./)A6O*#  
struts.multipart.maxSize %? _pSH}$!  
      The maximize size of a multipart request (file upload) ) ]U-7  
      multipart请求信息的最大尺寸(文件上传用) JMw1qPJQ  
I1 j-Q8  
struts.multipart.parser R\MM2_I  
      The org.apache.struts2.dispatcher.multipart. _;{n+i[  
      MultiPartRequest parser implementation for a multipart request (file upload) "a;JQ:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) k#ED#']N  
$)mE"4FE  
8\`]T%h  
struts.multipart.saveDir Z6X?M&-Lz  
      The directory to use for storing uploaded files 2Q)"~3  
      设置存储上传文件的目录夹 rFSLTbTf  
&2MW.,e7s  
struts.objectFactory @P4fR7  
      The com.opensymphony.xwork2.ObjectFactory implementation class LqPn$rZ|$  
      com.opensymphony.xwork2.ObjectFactory接口(spring) _UYt  
"MKgU[t  
struts.objectFactory.spring.autoWire "o`N6@[w^  
      Whether Spring should autoWire or not @X"p"3V  
      是否自动绑定Spring \QstcsEt  
KDuM;  
struts.objectFactory.spring.useClassCache "N"9PTX  
      Whether Spring should use its class cache or not ]0zXpMNI  
      是否spring应该使用自身的cache n!&DLB1z  
k(><kuJ`3  
struts.objectTypeDeterminer ]&qujH^Dd*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2r"-X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6?Rm>+2>v  
'u{m37ZJ  
struts.serve.static.browserCache t*< .^+Vd  
If static content served by the Struts filter should set browser caching header properties or not q*\ #H C  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 uv}[MXOP  
M$ `b$il  
struts.serve.static 7Nw7a;h  
      Whether the Struts filter should serve static content or not j{IAZs#@>  
      是否struts过滤器应该提供静态内容 ,-&ler~[  
VieC+Kk  
struts.tag.altSyntax C 6ZM#}I$l  
      Whether to use the alterative syntax for the tags or not T#Qn\ 8  
      是否可以用替代的语法替代tags #]oVVf_  
.:*V CDOM  
struts.ui.templateDir nfq  
      The directory containing UI templates g9H~\w  
      UI templates的目录夹 vdYd~>w  
j Aw&5,  
struts.ui.theme kz(%8qi8&  
      The default UI template theme S`BLwnU`#  
      默认的UI template主题 kV(}45i]s  
9l@VxX68M  
struts.url.http.port Lf&p2p?~c  
      The HTTP port used by Struts URLs tEf_XBjKV  
      设置http端口 `B"=\0  
V{O,O,*  
struts.url.https.port 9Y- Sqk+  
      The HTTPS port used by Struts URLs mrX3/e  
      设置https端口 bg*4Z?[dd  
!uii|"  
struts.url.includeParams @3K)VjY7  
      The default includeParams method to generate Struts URLs YW}q@AY7  
      在url中产生 默认的includeParams (!&cfabL  
t]#y} V  
cj`g)cX|  
struts.velocity.configfile :;t*:iG  
      The Velocity configuration file path b!J21cg<L  
      velocity配置文件路径 0"(5\T  
En&ESW N  
struts.velocity.contexts Pq>r|/~_  
      List of Velocity context names B t-o:)pa  
      velocity的context列表 AKC';J  
O7I:Y85i#O  
0PI C|  
struts.velocity.manager.classname $U<so{xn%  
      org.apache.struts2.views.velocity.VelocityManager implementation class b-'41d}Hn  
      org.apache.struts2.views.velocity.VelocityManager接口名 R)"Ds}1G  
v9( ->X'  
struts.velocity.toolboxlocation @Nn9- #iW  
      The location of the Velocity toolbox OWx YV$  
      velocity工具盒的位置 E'?yI' ~=  
struts.xslt.nocache '^'vafs-/@  
      Whether or not XSLT templates should not be cached Lo\+T+n  
      是否XSLT模版应该被缓存 3XYCtp8  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八