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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Z>X9J(=  
7,f:Qi@g  
struts.action.extension 1k$2LQ  
      The URL extension to use to determine if the request is meant for a Struts action eU`;L [  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )4@M`8  
J`4Z<b53  
struts.configuration s%5Uj }  
      The org.apache.struts2.config.Configuration implementation class UE\%e9<l  
        org.apache.struts2.config.Configuration接口名 cT\O v P*_  
K!9y+%01  
struts.configuration.files DE'Xq6#PK  
      A list of configuration files automatically loaded by Struts 3'.! +#  
      struts自动加载的一个配置文件列表 :DDO=  
y:~eU  
struts.configuration.xml.reload ,|6Y\L  
      Whether to reload the XML configuration or not oN_S}o  
      是否加载xml配置(true,false) #,t2*tM  
P`7ojXy  
struts.continuations.package w8G7Jy  
      The package containing actions that use Rife continuations LFl2uV"  
      含有actions的完整连续的package名称 BQ).`f";d  
6euR'd^Qi  
struts.custom.i18n.resources 1]"D%U=  
      Location of additional localization properties files to load 2@rp<&s  
      加载附加的国际化属性文件(不包含.properties后缀) WfRVv3Vm  
[|y`y%  
struts.custom.properties W&HF?w}s  
      Location of additional configuration properties files to load 8b-7]%  
      加载附加的配置文件的位置 T:be 9 5!,  
)gr}<}X)B  
1aBD^^Y  
struts.devMode GVeL~Q  
      Whether Struts is in development mode or not 4s[`yV  
      是否为struts开发模式 -)p@BtMS  
>Dk1axZ!>/  
struts.dispatcher.parametersWorkaround AU3auBol ^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Jw2B&)k/  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )ZQHa7V  
2r %>]y  
struts.enable.DynamicMethodInvocation 9 aY'0wa  
      Allows one to disable dynamic method invocation from the URL 8FAT(f//.  
        允许动态方法调用 ^!q 08`0  
eVJ= .?r  
struts.freemarker.manager.classname NKRaQ r  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class c'"#q)  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,jAx%]@,I  
yb[{aL^4%  
struts.i18n.encoding SCgyp(  
      The encoding to use for localization messages _2NN 1/F5  
      国际化信息内码 ,.~ W  
d^ 2u}^kG  
struts.i18n.reload s>LA3kT  
      Whether the localization messages should automatically be reloaded uCY(:;[<  
      是否国际化信息自动加载 F~tm`n8Z  
@~JB\j9  
struts.locale P]|J?$1K  
      The default locale for the Struts application y2oB]^z&n  
      默认的国际化地区信息 1[26w_B3  
>`<Ued  
struts.mapper.class Mr$# e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  aeEw#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 O]c=Yyl  
co \[{}}  
struts.multipart.maxSize _cW_u?0X:  
      The maximize size of a multipart request (file upload) GwTT+  
      multipart请求信息的最大尺寸(文件上传用) ^`l"'6  
{ z-5GH|  
struts.multipart.parser Hlz'a1\:O]  
      The org.apache.struts2.dispatcher.multipart. pw0Px  
      MultiPartRequest parser implementation for a multipart request (file upload) |Dl*w/n  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }@3Ud ' Y  
w%>aR_G  
5x:Ift *  
struts.multipart.saveDir MDMtOfe|  
      The directory to use for storing uploaded files }v_p gatC  
      设置存储上传文件的目录夹 szf"|k!  
Zkf 3t>[  
struts.objectFactory *54>iO- c  
      The com.opensymphony.xwork2.ObjectFactory implementation class JoZqLy!@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) &{X{36  
5F'%i;)oq  
struts.objectFactory.spring.autoWire Yh}zt H  
      Whether Spring should autoWire or not LEYWH% y  
      是否自动绑定Spring %1Vu=zCAW  
v[0DE*p  
struts.objectFactory.spring.useClassCache _<Hb(z  
      Whether Spring should use its class cache or not kWzuz#  
      是否spring应该使用自身的cache + AE&GU  
)2iM<-uB  
struts.objectTypeDeterminer A8=e?%  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [5>S-Z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \[Sm2/9v  
s`$NW^']  
struts.serve.static.browserCache =gxgS<bde  
If static content served by the Struts filter should set browser caching header properties or not 4^ d+l.F  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <_##YSGh,  
}"F ?H:\  
struts.serve.static 4yA9Ni  
      Whether the Struts filter should serve static content or not w$w>N(e  
      是否struts过滤器应该提供静态内容 ovhC4 2i  
Z7tU0  
struts.tag.altSyntax 4+ASw N9  
      Whether to use the alterative syntax for the tags or not +=|hMQ;  
      是否可以用替代的语法替代tags >i^y;5  
-X"5G  
struts.ui.templateDir tYI ]LL  
      The directory containing UI templates V_)5Af3wY  
      UI templates的目录夹 ^CowJ(y(  
k#1`  
struts.ui.theme Jngll  
      The default UI template theme D8r>a"gx  
      默认的UI template主题 P<j4\zJ  
Sqp;/&Ji  
struts.url.http.port Q3<bC6$r  
      The HTTP port used by Struts URLs ,!o\),N  
      设置http端口 an*]62l  
fe& t-  
struts.url.https.port ikEWY_1Y  
      The HTTPS port used by Struts URLs w Mlf3Uz  
      设置https端口 !Z<mrr;T@  
X_lUD?y  
struts.url.includeParams O ,F]\  
      The default includeParams method to generate Struts URLs { ()p%#*  
      在url中产生 默认的includeParams R&u)=~O\5  
{AU` }*5  
c,v^A+sZu  
struts.velocity.configfile -XS+Uv  
      The Velocity configuration file path KKx&UKjV  
      velocity配置文件路径 SR&(HH$  
5PPPd-'Z_  
struts.velocity.contexts _H~pH7WU  
      List of Velocity context names @Og\SZhn  
      velocity的context列表 1kB'sc3N!  
x&hvFG3  
Bi9 N  
struts.velocity.manager.classname { 4_I7r  
      org.apache.struts2.views.velocity.VelocityManager implementation class jRv;D#Hp  
      org.apache.struts2.views.velocity.VelocityManager接口名 2ru*#Z#(  
aGq_hP   
struts.velocity.toolboxlocation B)j`}7O 06  
      The location of the Velocity toolbox +z]:CF  
      velocity工具盒的位置 aJuj7y-  
struts.xslt.nocache <3SFP3^:  
      Whether or not XSLT templates should not be cached 2 pM  
      是否XSLT模版应该被缓存 HMEs8.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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