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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 M:[rH  
?HD eiJ kX  
struts.action.extension !u)>XS^E  
      The URL extension to use to determine if the request is meant for a Struts action KImBQ2^Tu  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K!AW8FnHkZ  
8]G  
struts.configuration U2hPsF4f  
      The org.apache.struts2.config.Configuration implementation class !V%h0OE\  
        org.apache.struts2.config.Configuration接口名 whH_<@!  
JXT%@w>I  
struts.configuration.files Z}X oWT2f  
      A list of configuration files automatically loaded by Struts ,=Q;@Z4 vJ  
      struts自动加载的一个配置文件列表 /R/\>'{E&c  
yM_ta '^$  
struts.configuration.xml.reload .$o0$`}  
      Whether to reload the XML configuration or not %R?B=W7 ;Q  
      是否加载xml配置(true,false) &- 5`Oln  
*s=jKV#  
struts.continuations.package 30BFwNE  
      The package containing actions that use Rife continuations QaVxP1V#U  
      含有actions的完整连续的package名称  !' }  
Fa"/p_1  
struts.custom.i18n.resources j<*  
      Location of additional localization properties files to load c@|!0 U%j  
      加载附加的国际化属性文件(不包含.properties后缀) O {hM  
S*aMUV&  
struts.custom.properties \r.{Ru  
      Location of additional configuration properties files to load 9` a1xnL  
      加载附加的配置文件的位置 Q4H(JD1f)  
N}|<P[LW  
g$^:2MT"aQ  
struts.devMode NA :_yA"  
      Whether Struts is in development mode or not \zx &5a #  
      是否为struts开发模式 ~]w|ULNa3|  
4J~ZZ  
struts.dispatcher.parametersWorkaround bUcEQGHcZ=  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic m2{DLw".  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,ORwMZtw{H  
;nSOe AF)Q  
struts.enable.DynamicMethodInvocation . X:  
      Allows one to disable dynamic method invocation from the URL *A^`[_y  
        允许动态方法调用 T'W@fif  
5YV3pFz$)  
struts.freemarker.manager.classname vk1E!T9X  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SlaHhq3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 pYRqV  
d*B^pDf  
struts.i18n.encoding *UerLpf  
      The encoding to use for localization messages tz^2?wO  
      国际化信息内码 Tr6J+hS  
 S6d&w6  
struts.i18n.reload qOqU CRUe:  
      Whether the localization messages should automatically be reloaded Xn%ty@8  
      是否国际化信息自动加载 dvc=<!"'S  
#9/^)^k  
struts.locale 7]8nW!h;  
      The default locale for the Struts application JmP[9"  
      默认的国际化地区信息 7u=R5  
39yp1  
struts.mapper.class #/,WgsAC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !T|q/ri  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 X]1Q# $b  
S - N [  
struts.multipart.maxSize Y[R;UJE`5  
      The maximize size of a multipart request (file upload) i"_@iN0N  
      multipart请求信息的最大尺寸(文件上传用) \@8.BCWK  
K*/X{3J;  
struts.multipart.parser c/'Cju W  
      The org.apache.struts2.dispatcher.multipart. + g*s%^(E  
      MultiPartRequest parser implementation for a multipart request (file upload) <Pnz$nH:e  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Sb|9U8h  
<E&8g[x6  
$sxm MP  
struts.multipart.saveDir P}re"<MD  
      The directory to use for storing uploaded files L|`(u  
      设置存储上传文件的目录夹 E9bc pup  
v<AFcY   
struts.objectFactory *NjjFk=R  
      The com.opensymphony.xwork2.ObjectFactory implementation class CG0jZB#u  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `zP{E T_Y  
9 *+X ^q'  
struts.objectFactory.spring.autoWire w9aLTLv-  
      Whether Spring should autoWire or not n5U-D0/Q  
      是否自动绑定Spring nYb{?{_ca8  
dR GgiQO  
struts.objectFactory.spring.useClassCache EpCT !e  
      Whether Spring should use its class cache or not JFOXrRR=d  
      是否spring应该使用自身的cache |Bhj L,  
<tn6=IV  
struts.objectTypeDeterminer 8WP|cF]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class pIhy3@bY  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Hs#q 7  
W1\F-:4L@  
struts.serve.static.browserCache ~gi,ky^!  
If static content served by the Struts filter should set browser caching header properties or not (Do](C  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 tj1M1s|a  
Nu[0X  
struts.serve.static  KB5<)[bs  
      Whether the Struts filter should serve static content or not 9`FPV`/  
      是否struts过滤器应该提供静态内容 W }  
-L6V)aK&  
struts.tag.altSyntax ) OE!vA  
      Whether to use the alterative syntax for the tags or not r^ Mu`*x*  
      是否可以用替代的语法替代tags w7e+~8|  
A>Y#-e;<d  
struts.ui.templateDir _qp^+  
      The directory containing UI templates VSDG_:!K  
      UI templates的目录夹 + d289"  
,&ld:v?~  
struts.ui.theme gNaB^IY  
      The default UI template theme 8r\;8all  
      默认的UI template主题 LSlYYyt  
7H$wpn Zln  
struts.url.http.port +\s&v!  
      The HTTP port used by Struts URLs cKe{ ]a  
      设置http端口 d+L!s7  
QT)5-Jy  
struts.url.https.port EHlkt,h*  
      The HTTPS port used by Struts URLs W&s@2y?rF  
      设置https端口 LQ{z}Ay  
qgkC)  
struts.url.includeParams g+pj1ycw/  
      The default includeParams method to generate Struts URLs ,b'QL6>`  
      在url中产生 默认的includeParams )2&y;{]  
%|o2d&i  
~&%&Z  
struts.velocity.configfile LEJn 1  
      The Velocity configuration file path O <#H5/Tq  
      velocity配置文件路径 8h$f6JE  
j1i<.,0g  
struts.velocity.contexts &Ndq ^!e  
      List of Velocity context names e"^n^_9  
      velocity的context列表 `&/~%>  
~fz9AhU8  
^b&U0k$R  
struts.velocity.manager.classname %$ ^ eY'-'  
      org.apache.struts2.views.velocity.VelocityManager implementation class oaGpqjBGQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 SUaXm#9  
c 0.? d]  
struts.velocity.toolboxlocation 7T/hmVi_  
      The location of the Velocity toolbox vcz?;lg  
      velocity工具盒的位置 t_NnQ4)=  
struts.xslt.nocache K0-AP $  
      Whether or not XSLT templates should not be cached iT,Ya-9"  
      是否XSLT模版应该被缓存 =&x u"V  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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