<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>红颜丽人struts2框架 &#187; 红颜丽人</title>
	<atom:link href="http://www.hongyanliren.com/category/java%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91/struts2%e6%a1%86%e6%9e%b6/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hongyanliren.com</link>
	<description>追求技术就像追求#$！不抛弃，不放弃！</description>
	<lastBuildDate>Thu, 16 Mar 2023 07:48:39 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.2</generator>
		<item>
		<title>Struts2标签读取session和request中的值</title>
		<link>http://www.hongyanliren.com/2016m04/36282.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36282.html#comments</comments>
		<pubDate>Sat, 16 Apr 2016 10:52:11 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[struts2框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36282</guid>
		<description><![CDATA[<h3>Struts2标签读取session和request中的值</h3>
jstl中

${request.userPasswd }

${sessionScope.userName}

&#60;%request.getparameter( "pid ")%&#62;

${param.pid}[......]<p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36282.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36282.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Struts 2 ActionError &amp; ActionMessage Example实例介绍</title>
		<link>http://www.hongyanliren.com/2016m04/36275.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36275.html#comments</comments>
		<pubDate>Sat, 16 Apr 2016 05:20:28 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[struts2框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36275</guid>
		<description><![CDATA[Struts 2 ActionError &#38; ActionMessage Example实例介绍，以下是英文的你们可以看明白吗？
<h1>Struts 2 ActionError &#38; ActionMessage Example</h1>
<div>

By <a title="mkyong" href="http://www.mkyong.com/author/mkyong/" rel="author">mkyong</a> &#124; June 10, 2010 [......]</div><p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36275.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36275.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Struts2 消息传递Message Resource Files</title>
		<link>http://www.hongyanliren.com/2016m04/36267.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36267.html#comments</comments>
		<pubDate>Sat, 16 Apr 2016 05:19:19 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[struts2框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36267</guid>
		<description><![CDATA[<a href="http://blog.csdn.net/ro_wsy/article/details/8579815">Struts2教程七——Message Resource Files</a>。



本教程假设你已完成<a title="Form Validation" href="http://blog.csdn.net/ro_wsy/article/details/8578431">Form Validation</a>教程，可以在Google Code -<a href="http://code.google.com/p/struts2-examples/downloads/list" rel="nofollow">http://code.google.com/p/struts2-examples/downloads/list</a>下载 Messa[......]<p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36267.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36267.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>struts2&#8212;Error message的显示</title>
		<link>http://www.hongyanliren.com/2016m04/36265.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36265.html#comments</comments>
		<pubDate>Sat, 16 Apr 2016 05:18:32 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[struts2框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36265</guid>
		<description><![CDATA[<h1><a id="cb_post_title_url" href="http://www.cnblogs.com/tyler2000/archive/2011/01/07/1930172.html">struts2---Error message的显示</a></h1>
<a>//@Override</a>
public void validateDoLogin() {
if(null == loginname &#124;&#124; loginname.isEmpty()){
addFieldError("loginname", "登[......]<p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36265.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36265.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>struts2 访问国际化资源 作为属性</title>
		<link>http://www.hongyanliren.com/2016m04/36255.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36255.html#comments</comments>
		<pubDate>Sat, 16 Apr 2016 05:17:57 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[struts2框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36255</guid>
		<description><![CDATA[<h3><a href="http://pv-love.iteye.com/blog/1816843">struts2 访问国际化资源 &#60;s:text&#62;作为属性<strong></strong></a></h3>
保留全局级国际化信息资源文件。并在message.properteis中增加一个带有参数的国际化信息。
<div id="">
<div>
<div>Java代码  <a title="收藏这段代码"><img alt="收藏代码" src="http://www.hongyanliren.com/wp-content/uploads/2016/04/icon_star17.png" /></a></div>
</div>
<ol start="1">
	<li>labela = labela in zh_CN</li>
	<li>labelb = labelb[......]</li></ol></div><p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36255.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36255.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Struts2 text 标签</title>
		<link>http://www.hongyanliren.com/2016m04/36252.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36252.html#comments</comments>
		<pubDate>Sat, 16 Apr 2016 05:17:28 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[struts2框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36252</guid>
		<description><![CDATA[<h1>Struts2 text 标签</h1>
text 标签是一个通用的标记，用来渲染一个i18n的文本消息。按照三个步骤：
<ul>
	<li>该消息必须在一个资源包，它与作为动作具有相同的名称。在实践中，这意味着，应该为类具有相同名称的Java类在同一个包创建属性文件，.properties扩展。</li>
	<li>如果具名的消息没[......]</li></ul><p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36252.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36252.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>struts2 中 s:text 的使用 资源的访问 多语言实现</title>
		<link>http://www.hongyanliren.com/2016m04/36250.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36250.html#comments</comments>
		<pubDate>Sat, 16 Apr 2016 05:16:57 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[struts2框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36250</guid>
		<description><![CDATA[<a href="http://blog.csdn.net/rdarda/article/details/6314781">struts2 中 s:text 的使用 资源的访问 多语言实现</a>

把资源统一管理总是不可避免的。strut2 的 &#60;s:text &#62;可以用于访问我们定义的properties文件，具体步骤分为三步：

1 、在struts.properties文件(在web-info/clas[......]<p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36250.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36250.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>struts2国际化文件配置</title>
		<link>http://www.hongyanliren.com/2016m04/36241.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36241.html#comments</comments>
		<pubDate>Sat, 16 Apr 2016 05:16:28 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[struts2框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36241</guid>
		<description><![CDATA[<h3><a href="http://1250605829.iteye.com/blog/1595275">struts2国际化文件配置</a></h3>
struts2的国际化分三种情况：前台页面的国际化，Action类中的国际化，配置文件的国际化。

首先指定全局的国际化资源文件:
在配置文件struts.xml中引入
<div id="">
<div>
<div>Xml代码  <a title="收藏这段代码"><img alt="收藏代码" src="http://www.hongyanliren.com/wp-content/uploads/2016/04/icon_star10.png" /></a></div>
</div>
<ol start="1">
	<li>&#60;constant name="struts.c[......]</li></ol></div><p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36241.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36241.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Struts2 的国际化实现</title>
		<link>http://www.hongyanliren.com/2016m04/36229.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36229.html#comments</comments>
		<pubDate>Sat, 16 Apr 2016 05:15:56 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[struts2框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36229</guid>
		<description><![CDATA[<h1><a id="cb_post_title_url" href="http://www.cnblogs.com/lihuiyy/archive/2013/03/14/2958782.html">Struts2 的国际化实现</a></h1>
以前一直看见 i18N ，现在才知道原来 i18N 就是 Internationalization，因为以 i 开头，以 N 结尾，共18个字母，也就是国际化的意思。在百度搜索主页上没有看见中英文的切换，毕竟百度在中国是为了中国人而设计的，没必要弄个英文的切换。goo[......]<p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36229.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36229.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>struts2中登陆过滤器取得request实例与传参</title>
		<link>http://www.hongyanliren.com/2016m04/36227.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36227.html#comments</comments>
		<pubDate>Sat, 16 Apr 2016 05:14:58 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[struts2框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36227</guid>
		<description><![CDATA[struts2中登陆过滤器取得request实例与传参
<div>
<ol start="1">
	<li>public String intercept(ActionInvocation invocation) throws Exception {</li>
	<li>        ActionContext ctx = invocation.get[......]</li></ol></div><p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36227.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36227.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
