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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 U#- 5",X|  
mM2I  
struts.action.extension 3sIdwY)ZS_  
      The URL extension to use to determine if the request is meant for a Struts action '4D7:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *3OlWnZ?  
|'uBkL0q  
struts.configuration q&O9W?E8dG  
      The org.apache.struts2.config.Configuration implementation class !)CY\c4}d>  
        org.apache.struts2.config.Configuration接口名 f3^qO9R  
SUIu.4Mz  
struts.configuration.files O_GHvLO=  
      A list of configuration files automatically loaded by Struts >wL!`:c'"  
      struts自动加载的一个配置文件列表 "=KFag  
9YB?wh'S[  
struts.configuration.xml.reload t-n'I/^5  
      Whether to reload the XML configuration or not c6=XJvz  
      是否加载xml配置(true,false) 3]@wa!`  
U3-MvI,Q  
struts.continuations.package 9i lJ  
      The package containing actions that use Rife continuations 8e ?9:VM]  
      含有actions的完整连续的package名称 +2k{y l  
f}KV4'n  
struts.custom.i18n.resources Hw toa,  
      Location of additional localization properties files to load |/c-~|%  
      加载附加的国际化属性文件(不包含.properties后缀) C-@M|K9A'  
@[`]w`9Q7  
struts.custom.properties XbeT x  
      Location of additional configuration properties files to load h,-i\8gq  
      加载附加的配置文件的位置 #Ye0*`  
b$pCp`/MT  
&~x|w6M]J  
struts.devMode 1}SON4U  
      Whether Struts is in development mode or not k_Sm ep  
      是否为struts开发模式 7q 5 \]J[  
?)-anoFyVW  
struts.dispatcher.parametersWorkaround ?' mP`9I  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic W5()A,R  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7l09  
^^24a_+2  
struts.enable.DynamicMethodInvocation {zc*yV\  
      Allows one to disable dynamic method invocation from the URL 0F6@aQ\y3  
        允许动态方法调用 |Q@(<'8=  
cVarvueS  
struts.freemarker.manager.classname O3d Qno  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jeO`45O  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 u-bgk(u  
+afkpvj8  
struts.i18n.encoding w@YPG{"j  
      The encoding to use for localization messages Q,tjODc6n  
      国际化信息内码 #,FXc~V  
#Aj#C>  
struts.i18n.reload 4x=sJ%E  
      Whether the localization messages should automatically be reloaded ^ 5>W`vwp  
      是否国际化信息自动加载 qI tbY%  
R%t|R7 9I  
struts.locale iAPGP -<6  
      The default locale for the Struts application \{Je!#  
      默认的国际化地区信息 Lm.N {NV'  
;*U&lT  
struts.mapper.class &|Rww\oJ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7fd,I%v  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 9"L!A,&'  
o4j!:CI  
struts.multipart.maxSize L$ ^ew0C  
      The maximize size of a multipart request (file upload) v}z^M_eFm  
      multipart请求信息的最大尺寸(文件上传用) %m/5! "  
3RD+;^}q 3  
struts.multipart.parser {A%&D^o)  
      The org.apache.struts2.dispatcher.multipart. u@+^lRGFh  
      MultiPartRequest parser implementation for a multipart request (file upload) pN)>c,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .)1u0 (?  
{}gL*2:EW$  
"]=XB0)  
struts.multipart.saveDir EiDpy#f}  
      The directory to use for storing uploaded files kFT*So`'  
      设置存储上传文件的目录夹 zxd<Cq>d  
unnuSW#v=  
struts.objectFactory 31M'71s  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?VTP|Z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) naeppBo  
mZ3Z8q}%P  
struts.objectFactory.spring.autoWire P8 w56  
      Whether Spring should autoWire or not }XRfHQk  
      是否自动绑定Spring V=PK)FJ  
OU^I/TU  
struts.objectFactory.spring.useClassCache &sXk!!85:  
      Whether Spring should use its class cache or not D$D;'Kij  
      是否spring应该使用自身的cache %RzkP}1>E  
Lm0q/d2|\X  
struts.objectTypeDeterminer `d x.<R#,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qjf4G[]!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 c"Q9ob  
V4W(> g  
struts.serve.static.browserCache WS1Y maV  
If static content served by the Struts filter should set browser caching header properties or not V.yDZ"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 uMZ<i}  
qA25P<  
struts.serve.static - s{&_]A~  
      Whether the Struts filter should serve static content or not |y?W#xb  
      是否struts过滤器应该提供静态内容 hsQ*ozv[)  
l~@ -oE  
struts.tag.altSyntax A9Pq}3U  
      Whether to use the alterative syntax for the tags or not EIg:@o&Jj  
      是否可以用替代的语法替代tags k^s7s{  
B7%m7GM  
struts.ui.templateDir THy   
      The directory containing UI templates ,W_".aguX  
      UI templates的目录夹 g`"_+x'  
M{Vi4ehOq  
struts.ui.theme / =v1.9(  
      The default UI template theme C [8='i26  
      默认的UI template主题 N]|)O]/[  
$UdFm8&  
struts.url.http.port 7L]Y.7>  
      The HTTP port used by Struts URLs Go~3L8 '  
      设置http端口 :/fT8KCwo  
Ro2!$[P  
struts.url.https.port =trLL+vGw'  
      The HTTPS port used by Struts URLs k4"O} jQO  
      设置https端口 _gCi@uXS3  
w (ev=)7<  
struts.url.includeParams @ "C P@^  
      The default includeParams method to generate Struts URLs H^$7=  
      在url中产生 默认的includeParams 5<oV>|*@{  
Ik=bgEF  
_w%{yF6   
struts.velocity.configfile A{DE7gp!  
      The Velocity configuration file path Z[\nyj  
      velocity配置文件路径 TF,([p*  
C3K")BO!  
struts.velocity.contexts HLq2a vs\  
      List of Velocity context names WOYN% 0#  
      velocity的context列表 >[P`$XkXd4  
edlsS}8^  
Cv]$w(k  
struts.velocity.manager.classname U/\LOIs  
      org.apache.struts2.views.velocity.VelocityManager implementation class 'W~6-c9y  
      org.apache.struts2.views.velocity.VelocityManager接口名 <2^ F'bQV  
x!?$y_t  
struts.velocity.toolboxlocation zogl2e+  
      The location of the Velocity toolbox E/>kvs%  
      velocity工具盒的位置 5d)\Z0s  
struts.xslt.nocache 4L&Rs;  
      Whether or not XSLT templates should not be cached l?x'R("{  
      是否XSLT模版应该被缓存 L@G~9{U>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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