﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-LittleCloud's Java World-随笔分类-struts</title><link>http://www.blogjava.net/ash011/category/29762.html</link><description>Live and learn.</description><language>zh-cn</language><lastBuildDate>Thu, 28 Feb 2008 11:39:02 GMT</lastBuildDate><pubDate>Thu, 28 Feb 2008 11:39:02 GMT</pubDate><ttl>60</ttl><item><title>struts2的struts.properties配置文件详解收藏</title><link>http://www.blogjava.net/ash011/archive/2008/02/22/181295.html</link><dc:creator>walkingpig</dc:creator><author>walkingpig</author><pubDate>Fri, 22 Feb 2008 02:33:00 GMT</pubDate><guid>http://www.blogjava.net/ash011/archive/2008/02/22/181295.html</guid><wfw:comment>http://www.blogjava.net/ash011/comments/181295.html</wfw:comment><comments>http://www.blogjava.net/ash011/archive/2008/02/22/181295.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/ash011/comments/commentRss/181295.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/ash011/services/trackbacks/181295.html</trackback:ping><description><![CDATA[现在还处于自学struts2阶段,所以很多文章都是从网上转了网友的, 呵呵,<br />
看见好的文章就想自己收藏一份,以备忘.<br />
<br />
原文出处:http://bbs.8isp.cn/simple/index.php?t1002.html<br />
<br />
struts.action.extension<br />
&nbsp; &nbsp; &nbsp; The URL extension to use to determine if the request is meant for a Struts action <br />
&nbsp; &nbsp; &nbsp; 用URL扩展名来确定是否这个请求是被用作Struts action，其实也就是设置 action的后缀，例如login.do的'do'字。<br />
<br />
struts.configuration<br />
&nbsp; &nbsp; &nbsp; The org.apache.struts2.config.Configuration implementation class<br />
&nbsp; &nbsp; &nbsp; &nbsp; org.apache.struts2.config.Configuration接口名<br />
<br />
struts.configuration.files<br />
&nbsp; &nbsp; &nbsp; A list of configuration files automatically loaded by Struts <br />
&nbsp; &nbsp; &nbsp; struts自动加载的一个配置文件列表<br />
<br />
struts.configuration.xml.reload<br />
&nbsp; &nbsp; &nbsp; Whether to reload the XML configuration or not<br />
&nbsp; &nbsp; &nbsp; 是否加载xml配置(true,false)<br />
<br />
struts.continuations.package<br />
&nbsp; &nbsp; &nbsp; The package containing actions that use Rife continuations<br />
&nbsp; &nbsp; &nbsp; 含有actions的完整连续的package名称<br />
<br />
struts.custom.i18n.resources<br />
&nbsp; &nbsp; &nbsp; Location of additional localization properties files to load <br />
&nbsp; &nbsp; &nbsp; 加载附加的国际化属性文件（不包含.properties后缀）<br />
<br />
struts.custom.properties<br />
&nbsp; &nbsp; &nbsp; Location of additional configuration properties files to load<br />
&nbsp; &nbsp; &nbsp; 加载附加的配置文件的位置<br />
<br />
<br />
struts.devMode<br />
&nbsp; &nbsp; &nbsp; Whether Struts is in development mode or not<br />
&nbsp; &nbsp; &nbsp; 是否为struts开发模式<br />
<br />
struts.dispatcher.parametersWorkaround<br />
&nbsp; &nbsp; &nbsp; Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic<br />
&nbsp; &nbsp; &nbsp; &nbsp; （某些版本的weblogic专用）是否使用一个servlet请求参数工作区（PARAMETERSWORKAROUND）<br />
<br />
struts.enable.DynamicMethodInvocation<br />
&nbsp; &nbsp; &nbsp; Allows one to disable dynamic method invocation from the URL<br />
&nbsp; &nbsp; &nbsp; &nbsp; 允许动态方法调用<br />
<br />
struts.freemarker.manager.classname<br />
&nbsp; &nbsp; &nbsp; The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <br />
&nbsp; &nbsp; &nbsp; org.apache.struts2.views.freemarker.FreemarkerManager接口名<br />
<br />
struts.i18n.encoding<br />
&nbsp; &nbsp; &nbsp; The encoding to use for localization messages<br />
&nbsp; &nbsp; &nbsp; 国际化信息内码<br />
<br />
struts.i18n.reload<br />
&nbsp; &nbsp; &nbsp; Whether the localization messages should automatically be reloaded<br />
&nbsp; &nbsp; &nbsp; 是否国际化信息自动加载 <br />
<br />
struts.locale<br />
&nbsp; &nbsp; &nbsp; The default locale for the Struts application<br />
&nbsp; &nbsp; &nbsp; 默认的国际化地区信息<br />
<br />
struts.mapper.class<br />
&nbsp; &nbsp; &nbsp; The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class<br />
&nbsp; &nbsp; &nbsp; &nbsp; org.apache.struts2.dispatcher.mapper.ActionMapper接口<br />
<br />
struts.multipart.maxSize<br />
&nbsp; &nbsp; &nbsp; The maximize size of a multipart request (file upload)<br />
&nbsp; &nbsp; &nbsp; multipart请求信息的最大尺寸（文件上传用） <br />
<br />
struts.multipart.parser<br />
&nbsp; &nbsp; &nbsp; The org.apache.struts2.dispatcher.multipart.<br />
&nbsp; &nbsp; &nbsp; MultiPartRequest parser implementation for a multipart request (file upload) <br />
&nbsp; &nbsp; &nbsp; 专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口（文件上传用）<br />
<br />
<br />
struts.multipart.saveDir<br />
&nbsp; &nbsp; &nbsp; The directory to use for storing uploaded files <br />
&nbsp; &nbsp; &nbsp; 设置存储上传文件的目录夹<br />
<br />
struts.objectFactory<br />
&nbsp; &nbsp; &nbsp; The com.opensymphony.xwork2.ObjectFactory implementation class<br />
&nbsp; &nbsp; &nbsp; com.opensymphony.xwork2.ObjectFactory接口（spring）<br />
<br />
struts.objectFactory.spring.autoWire<br />
&nbsp; &nbsp; &nbsp; Whether Spring should autoWire or not<br />
&nbsp; &nbsp; &nbsp; 是否自动绑定Spring<br />
<br />
struts.objectFactory.spring.useClassCache<br />
&nbsp; &nbsp; &nbsp; Whether Spring should use its class cache or not<br />
&nbsp; &nbsp; &nbsp; 是否spring应该使用自身的cache <br />
<br />
struts.objectTypeDeterminer<br />
&nbsp; &nbsp; &nbsp; The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class<br />
&nbsp; &nbsp; &nbsp; &nbsp; com.opensymphony.xwork2.util.ObjectTypeDeterminer接口<br />
<br />
struts.serve.static.browserCache<br />
If static content served by the Struts filter should set browser caching header properties or not <br />
&nbsp; &nbsp; &nbsp; 是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中<br />
<br />
struts.serve.static<br />
&nbsp; &nbsp; &nbsp; Whether the Struts filter should serve static content or not <br />
&nbsp; &nbsp; &nbsp; 是否struts过滤器应该提供静态内容<br />
<br />
struts.tag.altSyntax<br />
&nbsp; &nbsp; &nbsp; Whether to use the alterative syntax for the tags or not <br />
&nbsp; &nbsp; &nbsp; 是否可以用替代的语法替代tags<br />
<br />
struts.ui.templateDir<br />
&nbsp; &nbsp; &nbsp; The directory containing UI templates<br />
&nbsp; &nbsp; &nbsp; UI templates的目录夹 <br />
<br />
struts.ui.theme<br />
&nbsp; &nbsp; &nbsp; The default UI template theme<br />
&nbsp; &nbsp; &nbsp; 默认的UI template主题<br />
<br />
struts.url.http.port<br />
&nbsp; &nbsp; &nbsp; The HTTP port used by Struts URLs<br />
&nbsp; &nbsp; &nbsp; 设置http端口<br />
<br />
struts.url.https.port<br />
&nbsp; &nbsp; &nbsp; The HTTPS port used by Struts URLs <br />
&nbsp; &nbsp; &nbsp; 设置https端口<br />
<br />
struts.url.includeParams<br />
&nbsp; &nbsp; &nbsp; The default includeParams method to generate Struts URLs <br />
&nbsp; &nbsp; &nbsp; 在url中产生 默认的includeParams<br />
<br />
<br />
struts.velocity.configfile<br />
&nbsp; &nbsp; &nbsp; The Velocity configuration file path<br />
&nbsp; &nbsp; &nbsp; velocity配置文件路径<br />
<br />
struts.velocity.contexts<br />
&nbsp; &nbsp; &nbsp; List of Velocity context names<br />
&nbsp; &nbsp; &nbsp; velocity的context列表<br />
<br />
<br />
struts.velocity.manager.classname<br />
&nbsp; &nbsp; &nbsp; org.apache.struts2.views.velocity.VelocityManager implementation class<br />
&nbsp; &nbsp; &nbsp; org.apache.struts2.views.velocity.VelocityManager接口名<br />
<br />
struts.velocity.toolboxlocation<br />
&nbsp; &nbsp; &nbsp; The location of the Velocity toolbox<br />
&nbsp; &nbsp; &nbsp; velocity工具盒的位置 <br />
struts.xslt.nocache<br />
&nbsp; &nbsp; &nbsp; Whether or not XSLT templates should not be cached<br />
&nbsp; &nbsp; &nbsp; 是否XSLT模版应该被缓存
 <img src ="http://www.blogjava.net/ash011/aggbug/181295.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ash011/" target="_blank">walkingpig</a> 2008-02-22 10:33 <a href="http://www.blogjava.net/ash011/archive/2008/02/22/181295.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>转 Struts2+Spring2+Hibernate3 图书管理</title><link>http://www.blogjava.net/ash011/archive/2008/02/21/181081.html</link><dc:creator>walkingpig</dc:creator><author>walkingpig</author><pubDate>Thu, 21 Feb 2008 07:59:00 GMT</pubDate><guid>http://www.blogjava.net/ash011/archive/2008/02/21/181081.html</guid><wfw:comment>http://www.blogjava.net/ash011/comments/181081.html</wfw:comment><comments>http://www.blogjava.net/ash011/archive/2008/02/21/181081.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/ash011/comments/commentRss/181081.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/ash011/services/trackbacks/181081.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 这篇文章是从网友http://www.blogjava.net/sterning/archive/2007/09/30/149775.html转来的,他真是一位大好人,虽然在别的网站有很多转走的这篇文章,但我也想在自己的BLOG上再转一次,理由很简单,想自己收藏一份,感谢原创sterningStruts作为MVC 2的Web框架，自推出以来不断受到开发者的追捧，得到广泛的应用。作为...&nbsp;&nbsp;<a href='http://www.blogjava.net/ash011/archive/2008/02/21/181081.html'>阅读全文</a><img src ="http://www.blogjava.net/ash011/aggbug/181081.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ash011/" target="_blank">walkingpig</a> 2008-02-21 15:59 <a href="http://www.blogjava.net/ash011/archive/2008/02/21/181081.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>初学struts2,感觉好乱</title><link>http://www.blogjava.net/ash011/archive/2008/02/20/180855.html</link><dc:creator>walkingpig</dc:creator><author>walkingpig</author><pubDate>Wed, 20 Feb 2008 06:34:00 GMT</pubDate><guid>http://www.blogjava.net/ash011/archive/2008/02/20/180855.html</guid><wfw:comment>http://www.blogjava.net/ash011/comments/180855.html</wfw:comment><comments>http://www.blogjava.net/ash011/archive/2008/02/20/180855.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.blogjava.net/ash011/comments/commentRss/180855.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/ash011/services/trackbacks/180855.html</trackback:ping><description><![CDATA[<p>从前一直用的jsp+javabean,这种模式写东西<br />
开发工具方面通常jsp用dreamweaver, java源程序就用eclipse3.2<br />
服务器,像tomcat,apache也是单独配置,数据库mysql也是一样,单独配置的.<br />
感觉很容易,就是要配置的东西比较多.但却很少出错,<br />
就算出了错,也会知道是哪个环节出错了,这样就容易解决得多.<br />
<br />
现在即将有一个大点的项目,要求最好用struts做,<br />
之前也做过struts1的例子, 就单独struts不加spring,hibernate等,布置起来也觉得容易,<br />
于是想着要配置一个struts+spring+hinernate环境来做开发,一开始想到的是将版本升级,<br />
没想到后来看了struts1与struts2还不是同一个东西,并非版本上的升级.<br />
这些天翻了很多struts1与struts２，主要是struts2的资料看，看起来，这是一个很不错的东西，<br />
于是便下定心用struts2+spring2+hibernate3来做这个项目，<br />
立马在网上搜取这方面资料，还有实例，边看边配置，</p>
没想到，让人头痛的是，重配了Ｎ次实例，我配出来的工程，最后一发布，总是４０４错误，<br />
用的myeclipse6，就是不知道哪出错了，所有东西都集成在一起，不知道往哪查错．<br />
现在脑袋快冒烟了，　不知道有没有朋友，有好的学习struts2的好办法？<br />
请指点一下吧
 <img src ="http://www.blogjava.net/ash011/aggbug/180855.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/ash011/" target="_blank">walkingpig</a> 2008-02-20 14:34 <a href="http://www.blogjava.net/ash011/archive/2008/02/20/180855.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>