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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 vfhip"1  
V!KtF  
struts.action.extension @F7QQs3  
      The URL extension to use to determine if the request is meant for a Struts action c2"eq2'BS  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 kXX RMR  
raJyo>xXb5  
struts.configuration `T9<}&=!  
      The org.apache.struts2.config.Configuration implementation class q#\eL~k  
        org.apache.struts2.config.Configuration接口名 WaMn[/{  
+N4h Q"  
struts.configuration.files Iz{AA-  
      A list of configuration files automatically loaded by Struts ((dG<  
      struts自动加载的一个配置文件列表 Y,m H ]  
sCb?TyN'n  
struts.configuration.xml.reload "<O?KO 3K  
      Whether to reload the XML configuration or not ~[9 ]M)=O0  
      是否加载xml配置(true,false) k5xirB_  
A)7'\JK7b  
struts.continuations.package dbZPt~S'$  
      The package containing actions that use Rife continuations K0I-7/L  
      含有actions的完整连续的package名称 '`o+#\,b^%  
m@c2'*&Y  
struts.custom.i18n.resources w-nkf M~  
      Location of additional localization properties files to load ^ O`  
      加载附加的国际化属性文件(不包含.properties后缀) 9DtSYd/  
E$G "R =  
struts.custom.properties [=E<iPl  
      Location of additional configuration properties files to load .Yu,&HR  
      加载附加的配置文件的位置 U |4% ydG  
*gT TI;:  
n(o Jb  
struts.devMode E 0oJ|My  
      Whether Struts is in development mode or not Y66 vJ<lM  
      是否为struts开发模式 o!H"~5Trv!  
E>V8|Hz;  
struts.dispatcher.parametersWorkaround 5!cplx=<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 2dI:],7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) L,kF]  
sU}e78mh  
struts.enable.DynamicMethodInvocation \R#XSW,  
      Allows one to disable dynamic method invocation from the URL q5RLIstQ\  
        允许动态方法调用 etDB|(,z  
(8ymQ!aY  
struts.freemarker.manager.classname |n &6z  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -0\$JAyrx  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 7I.[1V`  
\dc`}}Lc  
struts.i18n.encoding Y|lMa?\E  
      The encoding to use for localization messages be@MQ}6>  
      国际化信息内码 uuC/F_='B  
{jq-dL  
struts.i18n.reload p' gv5\u[w  
      Whether the localization messages should automatically be reloaded <n`|zQ  
      是否国际化信息自动加载 "M*\,IH  
'/p5tw8  
struts.locale I%s/h4x^B[  
      The default locale for the Struts application E|fPI u  
      默认的国际化地区信息 G37_ `C  
-J6}7>4^8}  
struts.mapper.class g+CH F?O  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class rj5:Y QEH;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -FPl",f=r  
+<|w|c  
struts.multipart.maxSize B=p'2lla  
      The maximize size of a multipart request (file upload) ><DE1tG  
      multipart请求信息的最大尺寸(文件上传用) a[JgR/E@x  
P~*fZ)\}F@  
struts.multipart.parser #\M<6n{  
      The org.apache.struts2.dispatcher.multipart. EagI)W!s[  
      MultiPartRequest parser implementation for a multipart request (file upload) :dj@i6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1h"B-x  
d8K^`k+x  
 )Ob{]  
struts.multipart.saveDir p*'?(o:=  
      The directory to use for storing uploaded files "h#=ctCx"  
      设置存储上传文件的目录夹 F`N*{at  
2-6-kS)c  
struts.objectFactory O|/tRkDMP{  
      The com.opensymphony.xwork2.ObjectFactory implementation class lDA%M3(p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) i}YnJ  
@GV^B'}*  
struts.objectFactory.spring.autoWire 1hN! 2Y:  
      Whether Spring should autoWire or not Yk5kC 0B  
      是否自动绑定Spring lV 1|\~?4  
MWuVV=rd8a  
struts.objectFactory.spring.useClassCache "N;|~S)w!  
      Whether Spring should use its class cache or not S,v`rmI  
      是否spring应该使用自身的cache - t+Mh.  
'F~u \m=E  
struts.objectTypeDeterminer B?4\IXek  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8BN'fWl&E  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &d2/F i+  
o]j*  
struts.serve.static.browserCache <eI;Jph5  
If static content served by the Struts filter should set browser caching header properties or not iOyYf!yg  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 t&oNJq{  
l%IOdco#  
struts.serve.static E5 dXu5+ye  
      Whether the Struts filter should serve static content or not (o|E@d  
      是否struts过滤器应该提供静态内容 'K!kJ9oqe  
)>/c/ B  
struts.tag.altSyntax K$Ph$P@   
      Whether to use the alterative syntax for the tags or not ~,:f,FkSQ  
      是否可以用替代的语法替代tags I5~DC  
o?3R HP47  
struts.ui.templateDir DjKjEZHgM  
      The directory containing UI templates Z*)<E)  
      UI templates的目录夹 y\[=#g1(@  
Y:a(y*y<  
struts.ui.theme ^#4s/mdVO  
      The default UI template theme t&xx-4  
      默认的UI template主题 C/ bttd  
P8jK yo  
struts.url.http.port 2*M*<p=v  
      The HTTP port used by Struts URLs x\%eg w  
      设置http端口 x EBjfn  
sHF vzE%  
struts.url.https.port Hj!)S&y,$  
      The HTTPS port used by Struts URLs D)_Ei'+*l  
      设置https端口 dd$N4&  
V~=)#3]`[  
struts.url.includeParams y AWDk0bx  
      The default includeParams method to generate Struts URLs ST3qg6Cq2J  
      在url中产生 默认的includeParams  >4\xcL  
B'Wky>5)  
w.8~A,5}Dh  
struts.velocity.configfile 'GFzI:Xr  
      The Velocity configuration file path ]VvJ1Xn0  
      velocity配置文件路径 1@WGbORc*  
82X.  
struts.velocity.contexts Y8PT`7gd`  
      List of Velocity context names "|.(yN  
      velocity的context列表 #RF=a7&F  
Trrh`@R  
gy{a+Wbc*  
struts.velocity.manager.classname =Wf@'~K0k"  
      org.apache.struts2.views.velocity.VelocityManager implementation class `T70FsSJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 Q-F9oZ*0  
"7HB3?2>W  
struts.velocity.toolboxlocation G DV-wPX  
      The location of the Velocity toolbox L9T u>4  
      velocity工具盒的位置 :m d3@r']  
struts.xslt.nocache Pio^5jhB6  
      Whether or not XSLT templates should not be cached )hug<D *h  
      是否XSLT模版应该被缓存 #*!$!c{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五