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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ,w<S|#W~+  
x kx^%3dV  
struts.action.extension 4tRYw0f47  
      The URL extension to use to determine if the request is meant for a Struts action k]F[>26k  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {f3YsM;]C  
3% #3iZ=_  
struts.configuration nv*FT  
      The org.apache.struts2.config.Configuration implementation class 5sj4;w[  
        org.apache.struts2.config.Configuration接口名 7zXvnxYE  
)WNzWUfn=z  
struts.configuration.files }7|1  
      A list of configuration files automatically loaded by Struts Yb|c\[ %  
      struts自动加载的一个配置文件列表 3`t#UY).F  
Kr gFKRgGj  
struts.configuration.xml.reload hZ?Rof  
      Whether to reload the XML configuration or not W <9T0sZ  
      是否加载xml配置(true,false) ,1~"eGl!  
(y=C_wvqZ  
struts.continuations.package 3 oF45`3FV  
      The package containing actions that use Rife continuations BTqS'NuT  
      含有actions的完整连续的package名称 ! `   
_C%3h5  
struts.custom.i18n.resources Ta ZmRL  
      Location of additional localization properties files to load !"?#6-,Xn  
      加载附加的国际化属性文件(不包含.properties后缀) '.IW.{;$  
#++lg{  
struts.custom.properties &FMc?wq  
      Location of additional configuration properties files to load QO<jI#  
      加载附加的配置文件的位置 ` 06;   
jl4rbzse  
}|0^EWL  
struts.devMode 2J7:\pR^  
      Whether Struts is in development mode or not d[@X%  
      是否为struts开发模式 {j.bC@hWw  
Ec3}_`  
struts.dispatcher.parametersWorkaround |7'df&CA  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *v;2PP[^  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) -u6bAQ  
$O&b``  
struts.enable.DynamicMethodInvocation 9&-dTayIz  
      Allows one to disable dynamic method invocation from the URL Sq>dt[7  
        允许动态方法调用 DrKP%BnS  
"%`1 ]Fr  
struts.freemarker.manager.classname dU&a{ $ku[  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <Th6r.#?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 yZ0-wI  
I&D5;8  
struts.i18n.encoding ,?J!  
      The encoding to use for localization messages |^&b8  
      国际化信息内码 ?&8^&brwG  
],@rS9K  
struts.i18n.reload C)[,4wt,  
      Whether the localization messages should automatically be reloaded @E&J_un  
      是否国际化信息自动加载 NW~N}5T  
>!eAM )  
struts.locale ,`'Qi%O  
      The default locale for the Struts application @6Y?\Wx$w  
      默认的国际化地区信息 v [wb~uw\  
:}He\V  
struts.mapper.class 9P1OP Xv*p  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (!ux+K  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 nHM~  
:(/~:^!  
struts.multipart.maxSize LdYB7T,  
      The maximize size of a multipart request (file upload) v> LIvi|]  
      multipart请求信息的最大尺寸(文件上传用) h9t$Uz^N  
MU`1LHg  
struts.multipart.parser &|s0P   
      The org.apache.struts2.dispatcher.multipart. R6` WN  
      MultiPartRequest parser implementation for a multipart request (file upload) iOd&B B6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <wk!hTm W  
qmkAg }2  
HZ aV7dOZ8  
struts.multipart.saveDir 1T"`v tR  
      The directory to use for storing uploaded files F|'>NL-=  
      设置存储上传文件的目录夹 $njUXSQ;  
S3q&rqarC%  
struts.objectFactory 4`4kfiS$  
      The com.opensymphony.xwork2.ObjectFactory implementation class Tm~" IB*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \o z#l'z  
|UkR'Ma  
struts.objectFactory.spring.autoWire AFq~QXmr)  
      Whether Spring should autoWire or not M1k{t%M+S  
      是否自动绑定Spring Kr?TxhUHd  
5#HW2"7  
struts.objectFactory.spring.useClassCache iowTLq!?  
      Whether Spring should use its class cache or not Gj1&tjK  
      是否spring应该使用自身的cache 0\X\izQ5  
!S$:*5=&  
struts.objectTypeDeterminer 8v:T.o;<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class %"q9:{m  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 S ^!n45l  
DBo%fYst  
struts.serve.static.browserCache |)IlMG  
If static content served by the Struts filter should set browser caching header properties or not dH;8mb|#'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 X2#2C/6#u  
,1y@Z 5wy  
struts.serve.static {kA0z2Fe  
      Whether the Struts filter should serve static content or not Yk'XGr)  
      是否struts过滤器应该提供静态内容 y`L>wq,KU  
Lm iOhx  
struts.tag.altSyntax 0CZ :Bo[3  
      Whether to use the alterative syntax for the tags or not g{7.r-uu  
      是否可以用替代的语法替代tags AuvkecuIh  
G~F b  
struts.ui.templateDir _('=b/  
      The directory containing UI templates .eS<Dbku<  
      UI templates的目录夹 ST|x23|O]  
~k"=4j9  
struts.ui.theme piJu+tUy  
      The default UI template theme ~Q Oe##  
      默认的UI template主题 F|IAiE  
@D]5civm_  
struts.url.http.port ^ sOQi6pL  
      The HTTP port used by Struts URLs =J18eH!]  
      设置http端口 {JO^ tI  
ZJnYIK  
struts.url.https.port `"Jj1O@  
      The HTTPS port used by Struts URLs S-a]j;U  
      设置https端口 `68@+|#  
.u)X3..J  
struts.url.includeParams 2bv=N4ly  
      The default includeParams method to generate Struts URLs x!?u^  
      在url中产生 默认的includeParams f&=AA@jLv  
XPavReGf  
h&M{]E9=  
struts.velocity.configfile \S"isz  
      The Velocity configuration file path .r|tSfm6  
      velocity配置文件路径 &pP;Neh;  
034iK[ib"  
struts.velocity.contexts |T<_5Ik  
      List of Velocity context names c/:b.>W  
      velocity的context列表 K='z G*$l  
/74QMx?  
;nI] !g:  
struts.velocity.manager.classname F3y9@dA]  
      org.apache.struts2.views.velocity.VelocityManager implementation class hXcyoZ8  
      org.apache.struts2.views.velocity.VelocityManager接口名 OyU5DoDz1  
J-[,KME_^  
struts.velocity.toolboxlocation mu\6z_e  
      The location of the Velocity toolbox ]V[q(-Jk  
      velocity工具盒的位置 o$wEEz*4  
struts.xslt.nocache 7z%L*z8V  
      Whether or not XSLT templates should not be cached =%BSKSG.  
      是否XSLT模版应该被缓存 a]$1D!Anc  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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