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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |B`-chK  
+"3eh1q[  
struts.action.extension XOqpys  
      The URL extension to use to determine if the request is meant for a Struts action CHeG{l)<r  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }0 <x4|=  
sTG+c E  
struts.configuration 2zFdKs,  
      The org.apache.struts2.config.Configuration implementation class 6S6nE%.3  
        org.apache.struts2.config.Configuration接口名 WP]<\_r2  
HAO/r`7*  
struts.configuration.files "rX=G=  
      A list of configuration files automatically loaded by Struts ]3={o3[:  
      struts自动加载的一个配置文件列表 i"rMP#7  
R1Pnj  
struts.configuration.xml.reload S_bay8L1  
      Whether to reload the XML configuration or not @0 -B&w  
      是否加载xml配置(true,false) -m|b2g}"3  
rG\m]C3E  
struts.continuations.package Z}NAH`V`:+  
      The package containing actions that use Rife continuations 'R,d?ikY  
      含有actions的完整连续的package名称 ZC2C`S\xr  
5?O/Aub  
struts.custom.i18n.resources Q`vyDoF  
      Location of additional localization properties files to load {t=Nnc15K  
      加载附加的国际化属性文件(不包含.properties后缀) k5/nAaiVE  
%+I(S`}  
struts.custom.properties Y~vTFOI  
      Location of additional configuration properties files to load U~H'c p  
      加载附加的配置文件的位置 Ep?a>\  
]#BXaBVMY  
]Rj"/(X,  
struts.devMode >`{i[60r  
      Whether Struts is in development mode or not {Y0I A97,  
      是否为struts开发模式 (Wx)YI  
Ap!UX=HBb  
struts.dispatcher.parametersWorkaround =k$d8g ez  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q%eBm_r;  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^1~/FU  
h[Iu_#HMa  
struts.enable.DynamicMethodInvocation 3LXpe8$lJ  
      Allows one to disable dynamic method invocation from the URL Ro<!n>H  
        允许动态方法调用 eGTK^p  
8PEOi  
struts.freemarker.manager.classname /vPb  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Iyc')\W&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 mefmoZ  
8m1zL[.8g  
struts.i18n.encoding > T-O3/KN  
      The encoding to use for localization messages ,B#Y9[R  
      国际化信息内码 ^m+W  
vlPE8U=  
struts.i18n.reload J,D{dYLDD  
      Whether the localization messages should automatically be reloaded &U=f,9H  
      是否国际化信息自动加载 YAPD7hA  
/GXO2zO  
struts.locale 0l:5hD,)F  
      The default locale for the Struts application eXOFAd]>u  
      默认的国际化地区信息 X~DXx/9  
(D l"s`UH~  
struts.mapper.class bv+e'$U3  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @[FFYVru  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 UpIf t=@P  
A0]o/IBz  
struts.multipart.maxSize Tb)x8-0  
      The maximize size of a multipart request (file upload) OK)0no=OAK  
      multipart请求信息的最大尺寸(文件上传用) X,fTzkGj  
p|FX_4RjX  
struts.multipart.parser kdHql>0  
      The org.apache.struts2.dispatcher.multipart. f9Xw]G9  
      MultiPartRequest parser implementation for a multipart request (file upload) sN g"JQ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ZH}NlEn  
RdDcMZ  
uLCU3nI  
struts.multipart.saveDir 'pe0Q-  
      The directory to use for storing uploaded files Za f)  
      设置存储上传文件的目录夹 ua[\npz5  
V8sY7QK=  
struts.objectFactory Ue8D:C M  
      The com.opensymphony.xwork2.ObjectFactory implementation class E^YbyJ=1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;VuB8cnL`  
os.x|R]_  
struts.objectFactory.spring.autoWire v8@dvT<  
      Whether Spring should autoWire or not @i68%6H`?  
      是否自动绑定Spring YiJu48J  
# R&[+1=9j  
struts.objectFactory.spring.useClassCache Yq Fzbm{\  
      Whether Spring should use its class cache or not d5=xOEv; :  
      是否spring应该使用自身的cache lC4By,1*  
- Q@d  
struts.objectTypeDeterminer Jzdc'3dq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6~8 RFf"  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *]eZ Y  
m2! 7M%]GC  
struts.serve.static.browserCache TkBBHg;  
If static content served by the Struts filter should set browser caching header properties or not "EHc&,B`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kb:C>Y8!sC  
</=PN1=A  
struts.serve.static c[y8"M5  
      Whether the Struts filter should serve static content or not 1v4kN -  
      是否struts过滤器应该提供静态内容 bGJUu#  
5QSmim  
struts.tag.altSyntax @j (jOe  
      Whether to use the alterative syntax for the tags or not :kVV.a#g  
      是否可以用替代的语法替代tags nGbrWu]w  
sy?>e*-{  
struts.ui.templateDir !kcg#+s91  
      The directory containing UI templates B1M/5cr.  
      UI templates的目录夹 FSmi.7  
@Y,F&8a$  
struts.ui.theme Hj\~sR$L-  
      The default UI template theme aOHCr>po,  
      默认的UI template主题 ul?BKV+3E  
qL P +@wbJ  
struts.url.http.port asi1c y\  
      The HTTP port used by Struts URLs X]fw9tZ  
      设置http端口 V~_nyjrJM  
S8=4C`>jf  
struts.url.https.port m?j!0>  
      The HTTPS port used by Struts URLs SRTpE,  
      设置https端口 #{M -3  
5a ~tp'  
struts.url.includeParams *o[%?$8T  
      The default includeParams method to generate Struts URLs j vV8`BQ{  
      在url中产生 默认的includeParams z~ H Gc"~  
i njmP9ed  
gJ&!w8v.  
struts.velocity.configfile H5s85"U#  
      The Velocity configuration file path x/7G0K2\}  
      velocity配置文件路径 6.|~~/  
vdm?d/0(^  
struts.velocity.contexts m%[t&^b}T  
      List of Velocity context names g#4gGhI  
      velocity的context列表 #:|Y(,c  
L0kNt &di  
$vBU}~l7  
struts.velocity.manager.classname J,O@T)S@  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,}tdfkZFYl  
      org.apache.struts2.views.velocity.VelocityManager接口名 S=}~I  
\.c )^QQ  
struts.velocity.toolboxlocation D-GU"^-9  
      The location of the Velocity toolbox `#rfp 9w  
      velocity工具盒的位置 /6?plt&CA  
struts.xslt.nocache $3'+V_CZ3  
      Whether or not XSLT templates should not be cached L"iyjL<M  
      是否XSLT模版应该被缓存 ~ ZL`E  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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