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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 F<IqKgGzH  
/xsa-F  
struts.action.extension IFpmf0;^  
      The URL extension to use to determine if the request is meant for a Struts action ;]n U->  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3P-#NL  
Ej.D!@   
struts.configuration %$sWNn  
      The org.apache.struts2.config.Configuration implementation class o/=K:5  
        org.apache.struts2.config.Configuration接口名 OQ!mL3f  
8 LaZ5  
struts.configuration.files z$;%SYI  
      A list of configuration files automatically loaded by Struts ch : 428  
      struts自动加载的一个配置文件列表 <;U"D.'  
JZP2NB_xt  
struts.configuration.xml.reload y)(SS8JR  
      Whether to reload the XML configuration or not UbQeN  
      是否加载xml配置(true,false) 4S"K%2'O  
DO( /,A<{8  
struts.continuations.package Y6{p|F?&"  
      The package containing actions that use Rife continuations D-,sF8{ i  
      含有actions的完整连续的package名称 \19XDqf8  
]/d2*#  
struts.custom.i18n.resources Ii[rM/sG  
      Location of additional localization properties files to load VK`b'U &l"  
      加载附加的国际化属性文件(不包含.properties后缀) ?hDEFW9&^x  
aty K^*aX  
struts.custom.properties dc lJ  
      Location of additional configuration properties files to load GD< Afni  
      加载附加的配置文件的位置 %FyB\IQ  
typ*.j[q  
]7xAL7x  
struts.devMode _B W$?:)9  
      Whether Struts is in development mode or not KJ pM?:  
      是否为struts开发模式 dYr#  
AKAAb~{  
struts.dispatcher.parametersWorkaround 9"V27"s  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \t!+]v8f8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) L<Lu;KnY6  
_0vXujz  
struts.enable.DynamicMethodInvocation y8<,>  
      Allows one to disable dynamic method invocation from the URL gNZ^TeT  
        允许动态方法调用 8Q6il-  
SULWPH5Pr  
struts.freemarker.manager.classname #Q$4EQB  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class K7_)!=DcX  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 PfuYT_p4s  
f-{[ushj  
struts.i18n.encoding 4|:{apH  
      The encoding to use for localization messages _$=xa6YA  
      国际化信息内码 XriVHb  
^kXDEKm  
struts.i18n.reload PDpIU.=!0  
      Whether the localization messages should automatically be reloaded LI nN-b#  
      是否国际化信息自动加载 5T8!5EcS*  
\XB71DUF  
struts.locale  j, G/[V  
      The default locale for the Struts application jR/X}XQtY  
      默认的国际化地区信息 2%@j<yS  
N?pD"re)6  
struts.mapper.class U7ajDw  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3\'.1p  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;V%lFP3#  
ipbVQ7  
struts.multipart.maxSize b1 KiO2 E  
      The maximize size of a multipart request (file upload) .upcUS8  
      multipart请求信息的最大尺寸(文件上传用) FlkAo]  
Ok*:;G@  
struts.multipart.parser ?Rl*5GRW  
      The org.apache.struts2.dispatcher.multipart. v4ueFEY  
      MultiPartRequest parser implementation for a multipart request (file upload) h.7 1O"N  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GN~:rdd  
Ak9W8Z}  
:))AZ7_  
struts.multipart.saveDir I H:Hf v  
      The directory to use for storing uploaded files zJx<]=]  
      设置存储上传文件的目录夹 &Owt:R)9~  
N.isvDk%  
struts.objectFactory glv(`cQ  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1-qQp.Wj  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4XKg3l1  
z_Qw's  
struts.objectFactory.spring.autoWire r^\^*FD |  
      Whether Spring should autoWire or not ga,yFw  
      是否自动绑定Spring \?C(fp R  
m|-O/6~  
struts.objectFactory.spring.useClassCache [6-l6W  
      Whether Spring should use its class cache or not V K NCK  
      是否spring应该使用自身的cache Lv_6Mf(  
h]D=v B  
struts.objectTypeDeterminer \]r{73C  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T}\U:@b  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 nxH$$}9  
c~tkY!c  
struts.serve.static.browserCache c/hml4  
If static content served by the Struts filter should set browser caching header properties or not YqDw*S{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3Ys|M%N  
'17=1\Ss6;  
struts.serve.static 6?Ks H;L9  
      Whether the Struts filter should serve static content or not &bL1G(}  
      是否struts过滤器应该提供静态内容 ++kiCoC  
4$|G$h  
struts.tag.altSyntax Vl'=92t  
      Whether to use the alterative syntax for the tags or not iF 67  
      是否可以用替代的语法替代tags d[S!e`,iD  
o%|1D'f^  
struts.ui.templateDir -(59F  
      The directory containing UI templates pr m  
      UI templates的目录夹 qM9GW`CKA  
JTb<uC  
struts.ui.theme \J13rL{<  
      The default UI template theme )kd)v4#  
      默认的UI template主题 xQD#; 7  
#h&?wE>  
struts.url.http.port >kB?C!\  
      The HTTP port used by Struts URLs huQ1A0(no  
      设置http端口 +g.WO5A  
{<]abO  
struts.url.https.port -,i1T(p1  
      The HTTPS port used by Struts URLs 6 =kd4'yV  
      设置https端口 M9N|Ql  
/qp`xJ  
struts.url.includeParams 5(F!* 6i>  
      The default includeParams method to generate Struts URLs SMhT>dB  
      在url中产生 默认的includeParams x/Ds`\  
x x 'XR'zK  
3!}#@<j  
struts.velocity.configfile *U]f6Q<X  
      The Velocity configuration file path RM`8P5i]sF  
      velocity配置文件路径 >?DrC/  
zMG4oRPP  
struts.velocity.contexts J L Z  
      List of Velocity context names %_ z]iz4  
      velocity的context列表 7'o?'He-.2  
i@p?.%K{  
svQDSif  
struts.velocity.manager.classname *&U9npN  
      org.apache.struts2.views.velocity.VelocityManager implementation class H ,?MG  
      org.apache.struts2.views.velocity.VelocityManager接口名 D ,)~j6OG8  
xA-G&oC]<T  
struts.velocity.toolboxlocation "~Eo=R0O  
      The location of the Velocity toolbox oZ=e/\[K  
      velocity工具盒的位置 +&t{IP(?  
struts.xslt.nocache ^6`R:SV4Gx  
      Whether or not XSLT templates should not be cached 8^~ljf]6  
      是否XSLT模版应该被缓存 Bq _<v)M*  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五