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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 rDEd MT  
gWK NC  
struts.action.extension W3HTQGV  
      The URL extension to use to determine if the request is meant for a Struts action - / tzt  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (pud`@D;[  
$yi[wwf 4  
struts.configuration  Bm\OH#  
      The org.apache.struts2.config.Configuration implementation class sT;:V  
        org.apache.struts2.config.Configuration接口名 !ot$Q  
?%]?#4bkc  
struts.configuration.files mD]^a;U[X  
      A list of configuration files automatically loaded by Struts 8euh]+  
      struts自动加载的一个配置文件列表 O\5q_>]  
?04$1n:  
struts.configuration.xml.reload EYaX@|)  
      Whether to reload the XML configuration or not L*'3f~@Q  
      是否加载xml配置(true,false) 8YLS/dN0 w  
$&@etsW0/  
struts.continuations.package Bt?.8H6Y  
      The package containing actions that use Rife continuations JKMcdD?'  
      含有actions的完整连续的package名称 `SN?4;N0  
yJMHm8OB7  
struts.custom.i18n.resources q]}1/JZS  
      Location of additional localization properties files to load ;V:Cf/@@R  
      加载附加的国际化属性文件(不包含.properties后缀) 2\'5LL3  
MF}}o0P  
struts.custom.properties C>0='@LB@r  
      Location of additional configuration properties files to load 'C")X  
      加载附加的配置文件的位置 n?EL\B   
@XSxoUF\  
K]0K/~>8  
struts.devMode 4hLv"R.  
      Whether Struts is in development mode or not /qeSR3WC  
      是否为struts开发模式 0D=7Mef  
a+_F^   
struts.dispatcher.parametersWorkaround M?FbBJ`sF  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `B GU  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a=%QckR*  
n~e#Y<IP\1  
struts.enable.DynamicMethodInvocation :{tj5P!S  
      Allows one to disable dynamic method invocation from the URL g 218%i  
        允许动态方法调用 BGSqfr1F  
;<~lzfs  
struts.freemarker.manager.classname B;6N.X(K  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @?gN &Z)I  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 iJsa;|2/  
^;xO-;q  
struts.i18n.encoding (4 6S^*  
      The encoding to use for localization messages |-'.\)7:  
      国际化信息内码 1 xu2$x.b  
&qP@WFl  
struts.i18n.reload t&^cYPRfY'  
      Whether the localization messages should automatically be reloaded Dj$W?dC"^  
      是否国际化信息自动加载 KDW=x4*p  
TXDb5ZCzM  
struts.locale j1hx{P'  
      The default locale for the Struts application CNRiK;nQ  
      默认的国际化地区信息 [ ]LiL;A&  
"p[FFg  
struts.mapper.class VJ'bS9/T  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class N:yyDeGyW  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 9tZ+ ?O5  
5%Xny8 ]|D  
struts.multipart.maxSize (qky&}H  
      The maximize size of a multipart request (file upload) r!,/~~m T  
      multipart请求信息的最大尺寸(文件上传用) $>M A  
3~uWrZ.u  
struts.multipart.parser GA.4'W^&a  
      The org.apache.struts2.dispatcher.multipart. rdY/QvP0=  
      MultiPartRequest parser implementation for a multipart request (file upload) x.:k0;%Q  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R{hq1-  
|!=KLJUA  
Ov5 *&*P  
struts.multipart.saveDir -Z/'kYj?U  
      The directory to use for storing uploaded files 6d% |yl  
      设置存储上传文件的目录夹 ~5xs$ub  
|x ~<Dc>0*  
struts.objectFactory i( l'f#  
      The com.opensymphony.xwork2.ObjectFactory implementation class Jjgy;*hM  
      com.opensymphony.xwork2.ObjectFactory接口(spring) x(UOt;  
J91O$szA  
struts.objectFactory.spring.autoWire M^$liS.D  
      Whether Spring should autoWire or not w' gKE'c  
      是否自动绑定Spring ~l=Jx*  
|##rs  
struts.objectFactory.spring.useClassCache _?IP}}jA:  
      Whether Spring should use its class cache or not )ZP-t!).G#  
      是否spring应该使用自身的cache 8pQ:B/3=  
i H^Gv*  
struts.objectTypeDeterminer HR> X@g<c  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [61T$.  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 WV8?zB1  
lW8!_h"G`n  
struts.serve.static.browserCache ]PI|Xl  
If static content served by the Struts filter should set browser caching header properties or not !]v&/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 NxyrP**j  
g^qbd$}  
struts.serve.static FlPPz  
      Whether the Struts filter should serve static content or not +l,6}tV9  
      是否struts过滤器应该提供静态内容 ?g5u#Q> !  
ONkHHyT  
struts.tag.altSyntax ZvS|a~jO  
      Whether to use the alterative syntax for the tags or not ]mW)T0_  
      是否可以用替代的语法替代tags F|seBBu  
&d8z`amP  
struts.ui.templateDir =`oQcIkz  
      The directory containing UI templates ,PyA$Z  
      UI templates的目录夹 \EC=#E(  
pSLv1d"9{  
struts.ui.theme D#~S< >u@  
      The default UI template theme <g^!xX<r?  
      默认的UI template主题 tUp'cG  
]DaC??%w  
struts.url.http.port NP {O  
      The HTTP port used by Struts URLs >cEB ,@~  
      设置http端口 .L X8ko  
2EdKxw3$]  
struts.url.https.port ^6Std x_  
      The HTTPS port used by Struts URLs *Y@)t* -a  
      设置https端口 +-|D$@8S  
-'sn0 _q/e  
struts.url.includeParams  );cu{GY  
      The default includeParams method to generate Struts URLs vX'@we7Q{  
      在url中产生 默认的includeParams %ys-y?r  
pNHO;N[&  
>^  E  
struts.velocity.configfile kr_!AW<.tz  
      The Velocity configuration file path njk1x  
      velocity配置文件路径 y.LJ 5K$&a  
LcA~a<_  
struts.velocity.contexts --~m{qmy  
      List of Velocity context names DB^"iof  
      velocity的context列表 @"`{gdB$  
nn"Wn2ciS  
jmAQ!y|W.  
struts.velocity.manager.classname *$KUnd-T  
      org.apache.struts2.views.velocity.VelocityManager implementation class A!K/92[#@  
      org.apache.struts2.views.velocity.VelocityManager接口名 W:8*Z8?7  
n tfwR#j  
struts.velocity.toolboxlocation iE|qU_2Y  
      The location of the Velocity toolbox ]vPa A  
      velocity工具盒的位置 sc2nLyn$  
struts.xslt.nocache H8ws6}C  
      Whether or not XSLT templates should not be cached  ^vPt Ppt  
      是否XSLT模版应该被缓存 fCMH<}w  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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