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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 XFi9qL^  
8w~X4A,  
struts.action.extension = jTC+0u  
      The URL extension to use to determine if the request is meant for a Struts action i1Y<[s  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  o%$R`;  
p`'3Il3  
struts.configuration )0=H)k0  
      The org.apache.struts2.config.Configuration implementation class ]zI*}(adu  
        org.apache.struts2.config.Configuration接口名 ;NGSJfn  
66po SZR@  
struts.configuration.files k?_uv  
      A list of configuration files automatically loaded by Struts k:&B b"  
      struts自动加载的一个配置文件列表 ]'z 5%'  
`a@YbuLd  
struts.configuration.xml.reload ];QX&";Z  
      Whether to reload the XML configuration or not +t(Gt0+  
      是否加载xml配置(true,false) !{A#\~,  
Jn20^YG  
struts.continuations.package 3+! G9T!  
      The package containing actions that use Rife continuations 0u I=8j  
      含有actions的完整连续的package名称 /@",5U#  
LE g#W  
struts.custom.i18n.resources uao#=]?)  
      Location of additional localization properties files to load =!($=9  
      加载附加的国际化属性文件(不包含.properties后缀) {=+'3p  
x(:alG%#  
struts.custom.properties Kw`}hSE>o  
      Location of additional configuration properties files to load ~Vc`AcWP  
      加载附加的配置文件的位置 :]8!G- Z  
2HDWlUTNVO  
yz%o?%@  
struts.devMode Yb'%J@T}  
      Whether Struts is in development mode or not &#'.I0n  
      是否为struts开发模式 t;t;+M|W  
n9k-OGJ  
struts.dispatcher.parametersWorkaround W}WDj:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^,Ft7JAn  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) SYgkYR  
2Xv$  
struts.enable.DynamicMethodInvocation 6<YAoo  
      Allows one to disable dynamic method invocation from the URL t]ID  
        允许动态方法调用 0 l+Jq  
k jx<;##R8  
struts.freemarker.manager.classname :79u2wSh  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]'0}fuV  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 <Q_E3lQy/  
48.4GwL7  
struts.i18n.encoding 1CS\1[E  
      The encoding to use for localization messages i8=+ <d  
      国际化信息内码 <qBM+m$|)  
xqv&^,ic  
struts.i18n.reload #eKH'fE  
      Whether the localization messages should automatically be reloaded "?'9\<>  
      是否国际化信息自动加载 M|UCV_omN  
IJLuu@kRm,  
struts.locale H4W!@"e  
      The default locale for the Struts application <#)Q.P  
      默认的国际化地区信息 g!`^!Q/($  
sLc,Dx"+  
struts.mapper.class N <M6~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  bDq<]h_7  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 xr31< 4B  
WFvVu3  
struts.multipart.maxSize ".kH5(:  
      The maximize size of a multipart request (file upload) p R ! m  
      multipart请求信息的最大尺寸(文件上传用) |Pv)&'B"  
k: z)Sw  
struts.multipart.parser "XU)(<p  
      The org.apache.struts2.dispatcher.multipart. U(hIT9  
      MultiPartRequest parser implementation for a multipart request (file upload) ?',GRaD  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <lRjh7  
)~ ^`[`  
x}uDW   
struts.multipart.saveDir p uW  
      The directory to use for storing uploaded files s6Il3K f  
      设置存储上传文件的目录夹 `X(H,Q}*;  
)c<[@ ::i  
struts.objectFactory QvlV jDIy  
      The com.opensymphony.xwork2.ObjectFactory implementation class yL23 Nqe  
      com.opensymphony.xwork2.ObjectFactory接口(spring) j/1 f|x  
Z5@E|O&  
struts.objectFactory.spring.autoWire mJsU7bD`  
      Whether Spring should autoWire or not 12l1u[TlS  
      是否自动绑定Spring @u:q#b  
+)_#j/  
struts.objectFactory.spring.useClassCache jPs{Mr<  
      Whether Spring should use its class cache or not 6h1pPx7zU  
      是否spring应该使用自身的cache K}p0$Lc  
P}he}k&IR  
struts.objectTypeDeterminer C-&s$5MzGb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \cHF V  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 pV$A?b"?*  
D&D-E~b^  
struts.serve.static.browserCache -=qHwcId  
If static content served by the Struts filter should set browser caching header properties or not O:#/To'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -gv[u,R  
%Lp#2?*  
struts.serve.static % "^CrG  
      Whether the Struts filter should serve static content or not O{EbL5p  
      是否struts过滤器应该提供静态内容 +^[SXI^JaJ  
Q>WnSm5R  
struts.tag.altSyntax !y3XIbdS"  
      Whether to use the alterative syntax for the tags or not 3o#K8EL  
      是否可以用替代的语法替代tags eyos6Qi  
72= 4#  
struts.ui.templateDir %Ybr5$_  
      The directory containing UI templates rE?B9BF3O  
      UI templates的目录夹 r>t|.=!  
:#=B wdC  
struts.ui.theme m[hHaX  
      The default UI template theme I:YE6${k!  
      默认的UI template主题 !4$-.L)#  
]!2[kA-  
struts.url.http.port ESuP ZB  
      The HTTP port used by Struts URLs '2SZ]   
      设置http端口 U}GO* +  
_!%@V=  
struts.url.https.port A9z3SJ\vXl  
      The HTTPS port used by Struts URLs xiF}{25a  
      设置https端口 v3cLU7bi?2  
/Y [ b8f  
struts.url.includeParams $I9U.~*  
      The default includeParams method to generate Struts URLs nQG<OVRClS  
      在url中产生 默认的includeParams yjM!M|  
8L*#zaSAf  
~31-)*tJ]  
struts.velocity.configfile 4\ny]A:~  
      The Velocity configuration file path ?_. SV g  
      velocity配置文件路径 Pxgal4{6  
r|ogF8YN  
struts.velocity.contexts x)f<lZ^L&H  
      List of Velocity context names '~xiD?:  
      velocity的context列表 Sy^@v%P'A  
kE1k@h#/  
+[pJr-k  
struts.velocity.manager.classname )2R]KU_=g  
      org.apache.struts2.views.velocity.VelocityManager implementation class Iv?1XI=  
      org.apache.struts2.views.velocity.VelocityManager接口名 ix 5\Y  
[!4V_yOb  
struts.velocity.toolboxlocation vX$|/74  
      The location of the Velocity toolbox y.a)M?3  
      velocity工具盒的位置 W2A!BaH%  
struts.xslt.nocache 5?TX.h9B4  
      Whether or not XSLT templates should not be cached )9+H[  
      是否XSLT模版应该被缓存 E>F6!qYm  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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