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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 zB]T5]  
8"* $e I5  
struts.action.extension >%3c1  
      The URL extension to use to determine if the request is meant for a Struts action :3n.nKANr  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a@r K%Iff  
tw3d>H`  
struts.configuration 'IW+"o  
      The org.apache.struts2.config.Configuration implementation class kWz%v  
        org.apache.struts2.config.Configuration接口名 Oc'z?6axWv  
K+$c,1wb  
struts.configuration.files {4m"S 7O  
      A list of configuration files automatically loaded by Struts a&ByV!%%+_  
      struts自动加载的一个配置文件列表 2nie I*[  
fY"28#   
struts.configuration.xml.reload tB3CX\e  
      Whether to reload the XML configuration or not \+~4t  
      是否加载xml配置(true,false) 7Y*m_AhxJ  
kL|Y-(FPo%  
struts.continuations.package I !<v$  
      The package containing actions that use Rife continuations C[&&.w8Pm  
      含有actions的完整连续的package名称 c_a$g  
+l/j6)O`(m  
struts.custom.i18n.resources EH "g`r  
      Location of additional localization properties files to load M>J ADt_]  
      加载附加的国际化属性文件(不包含.properties后缀) o%QQ7S3 P  
HgBg,1  
struts.custom.properties -pGt ;  
      Location of additional configuration properties files to load *(MvNN*  
      加载附加的配置文件的位置 *_wef/==  
dGteYt_F  
)|a9Z~#x  
struts.devMode l=]vC +mU  
      Whether Struts is in development mode or not XZ&v3ul  
      是否为struts开发模式 Wkk Nyg,  
1;gSf.naG  
struts.dispatcher.parametersWorkaround &"h!SkX/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,< icW &a  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) uWInx6p  
QPcB_wUqu  
struts.enable.DynamicMethodInvocation kZ.3\  
      Allows one to disable dynamic method invocation from the URL )IhY&?jk?  
        允许动态方法调用 GDB>!ukg  
U44H/5/  
struts.freemarker.manager.classname )x7hhEk=^  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *vO'Z &  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 oX4uRc7wR  
e,*[5xQ  
struts.i18n.encoding ;2|H6IN"  
      The encoding to use for localization messages 19u? ^w  
      国际化信息内码 Aii[=x8  
.KsvRx  
struts.i18n.reload ,6S 8s  
      Whether the localization messages should automatically be reloaded Fb' wC  
      是否国际化信息自动加载 u" g p">  
`j![  
struts.locale *a%PA(%6  
      The default locale for the Struts application ,s76]$%4  
      默认的国际化地区信息 Q8q_w2s,  
_D4}[`  
struts.mapper.class S%fBt?-Cm  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7dJaWD:&   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 k-e@G'  
~QcKW<bz  
struts.multipart.maxSize G]1pGA;  
      The maximize size of a multipart request (file upload) %nh'F6bNgv  
      multipart请求信息的最大尺寸(文件上传用) j[`?`RyU  
-*M:OF"Zh  
struts.multipart.parser [AzN&yACE  
      The org.apache.struts2.dispatcher.multipart. fNJ;{&#  
      MultiPartRequest parser implementation for a multipart request (file upload) %4Zy1{yKs_  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) jf/9]`Hf  
6I#DlAU@v  
$IT9@}*{  
struts.multipart.saveDir wcf_5T  
      The directory to use for storing uploaded files ACYn87tq  
      设置存储上传文件的目录夹 rfi`Bp  
FO=1P7  
struts.objectFactory uCfp+  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;/T-rVND  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,-Nk-g  
<R>ZG"m{  
struts.objectFactory.spring.autoWire 6w;|-/:`  
      Whether Spring should autoWire or not )x&@j4,  
      是否自动绑定Spring OF/)-}!  
q)b?X ^  
struts.objectFactory.spring.useClassCache >pvg0Fh  
      Whether Spring should use its class cache or not >NA7,Z2.  
      是否spring应该使用自身的cache NF!1)  
r![JPhei  
struts.objectTypeDeterminer n^02@Aw  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class - (}1o9e\7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tlgvBRH>  
Y`?X Fy:  
struts.serve.static.browserCache [Mc5N  
If static content served by the Struts filter should set browser caching header properties or not ]!aa#?Fc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 QJM!Wx+  
A_~5|  
struts.serve.static MjC%6%HI  
      Whether the Struts filter should serve static content or not <SZO- -+lB  
      是否struts过滤器应该提供静态内容 SqF.DB~  
!gHWYWu)!  
struts.tag.altSyntax :[f`HY&  
      Whether to use the alterative syntax for the tags or not =Zy!',,d,9  
      是否可以用替代的语法替代tags X", 0VO  
f94jMzH9z  
struts.ui.templateDir H<}eoU.  
      The directory containing UI templates :&)/vq  
      UI templates的目录夹 O f@#VZ  
{dXBXC/Ju  
struts.ui.theme '\B"g@if  
      The default UI template theme "nno)~)u  
      默认的UI template主题 _i@eOqoC  
TeCpT2!5j  
struts.url.http.port .<^Y E%  
      The HTTP port used by Struts URLs /'fDXSdP  
      设置http端口 f\U&M,L\ '  
@[lc0_ b  
struts.url.https.port ZCFf@2&z8  
      The HTTPS port used by Struts URLs ?lN8~Ze  
      设置https端口 M2Fj)w2   
M.N~fSJ   
struts.url.includeParams S} Cp&}G{P  
      The default includeParams method to generate Struts URLs R 0HVLQI  
      在url中产生 默认的includeParams .]s( c!{y  
9XqAjez\  
\Fg6b6  
struts.velocity.configfile #x@lZ!Y  
      The Velocity configuration file path etMh=/NFV  
      velocity配置文件路径 2qMsa>~  
Z WRRh^  
struts.velocity.contexts bH&)rn  
      List of Velocity context names bTQa'y`3  
      velocity的context列表 g+ 1=5g  
/:{_|P\  
~uR6z//%  
struts.velocity.manager.classname n,a5LR  
      org.apache.struts2.views.velocity.VelocityManager implementation class )1nCw  
      org.apache.struts2.views.velocity.VelocityManager接口名 #3yw   
83ic@[  
struts.velocity.toolboxlocation S50x0$%<W  
      The location of the Velocity toolbox I cR;A\z  
      velocity工具盒的位置 h` h>H X  
struts.xslt.nocache k7|z$=zY  
      Whether or not XSLT templates should not be cached Gh[`q7B Q  
      是否XSLT模版应该被缓存 _OU.JrqC  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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