<?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>曾华水的博客 &#187; Jboss</title>
	<atom:link href="http://www.mrzeng.com/tag/jboss/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mrzeng.com</link>
	<description>NO.1 or Nothing</description>
	<lastBuildDate>Wed, 07 Sep 2011 12:47:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>从tomcat移植到jboss发生的jsp错误</title>
		<link>http://www.mrzeng.com/post/difference-between-jboss-and-tomcat.html</link>
		<comments>http://www.mrzeng.com/post/difference-between-jboss-and-tomcat.html#comments</comments>
		<pubDate>Fri, 27 Nov 2009 12:26:34 +0000</pubDate>
		<dc:creator>zenghuashui</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Jboss]]></category>
		<category><![CDATA[Jsp]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://www.mrzeng.com/?p=116</guid>
		<description><![CDATA[最近发现从tomcat移植到jboss会有一点差别，尽管jboss的web用的tomcat，但还是有一点差别的。 1、list的问题 jboss的list不能使用泛型，即list不能写成list，否则会报错； 2、pageContent.setAttribute(String,Object)的问题。 jboss除了String类型，例如int，boolean等类型不能写入，不然会出现类似的错误 The method setAttribute(String, Object, int) in the type JspContext is not applicable for the arguments (String, int) 而要把Object写成new Boolean（boolean），new Integer（int）。这样就不会报错。 随机日志写在感恩节前夕这是个西方的节日，无论是什么节日，都是一种提醒。 每天要感谢父母，感谢给自己生命： 每天要感谢家人，感谢给自己快乐； 每天要感谢同事，感谢给自己帮助。 最近看了一部电影《love actually》，中文翻译真爱至上，里面的那段话说得很好： 每当我对世界的现状感到担忧，我就会想到希思罗机场的接机厅。很多人都开始觉得我们生活在仇恨与贪婪中，但我并不这么认为。在我看来，爱无处...jqGrid基础学习：3jqGrid与后台的交互（基于struts2）jqGrid与后台的交互方式如下： 载入时，jqGrid以POST或GET方式（用定义）向服务器发起数据载入请求，服务器根据请求传递给jqGrid； 传递的参数如下： page ：指示需要查询第几页的数据。 rows ：指示每页显示的记录条数。 sidx ：指示查询排序的条件，这是一个字符串，可能是数据库表字段或者是POJO对象的属性名。这需要程序来处理。 sord ：指示查询排序的方...jqGrid基础学习：6jqGrid中方法使用jqGrid的方法一般用法如下： ... jQuery("#grid_id").jqGridMethod( parameter1,...parameterN ); ... grid_id 是已经实现定义好的jqGrid。 jqGridMethod 是要应用到jqGrid的方法。 parameter1,…parameterN - 一系列方法。 同时要注意的是，jqG...Struts [...]]]></description>
			<content:encoded><![CDATA[<p>最近发现从tomcat移植到jboss会有一点差别，尽管jboss的web用的tomcat，但还是有一点差别的。<br />
 1、list的问题<br />
jboss的list不能使用泛型，即list不能写成list，否则会报错；<br />
 2、pageContent.setAttribute(String,Object)的问题。<br />
jboss除了String类型，例如int，boolean等类型不能写入，不然会出现类似的错误</p>
<pre class="prettyprint">
The method setAttribute(String, Object, int) in the type JspContext is not applicable for the arguments (String, int)
 </pre>
<p>而要把Object写成new Boolean（boolean），new Integer（int）。这样就不会报错。</p>
<h3  class="related_post_title">随机日志</h3><ul class="related_post"><li><a href="http://www.mrzeng.com/post/json-utils.html" title="Json工具类">Json工具类</a><br /><small>jqGrid在处理多字段查询的时候要使用json数据，于是，参考了网上的一些写法，写了一个json工具类。其中那个时间格式化，是为了解决json在处理java的java.util.Date出现的问题。

代码如下：

@SuppressWarnings("unchecked")
public class JsonUtils {

	

	/**
	 * 从一个JSON 对象字符...</small></li><li><a href="http://www.mrzeng.com/post/hibernate3-could-not-initialize-proxy-no-session.html" title="Hibernate3错误:could not initialize proxy &#8211; no Session的解决办法">Hibernate3错误:could not initialize proxy &#8211; no Session的解决办法</a><br /><small>前段时间在项目中出现以下错误：

org.hibernate.LazyInitializationException: could not initialize proxy - no Session
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:57)
at or...</small></li><li><a href="http://www.mrzeng.com/post/thanks-giving-day-091125.html" title="写在感恩节前夕">写在感恩节前夕</a><br /><small>这是个西方的节日，无论是什么节日，都是一种提醒。

每天要感谢父母，感谢给自己生命：
每天要感谢家人，感谢给自己快乐；
每天要感谢同事，感谢给自己帮助。

最近看了一部电影《love actually》，中文翻译真爱至上，里面的那段话说得很好：


每当我对世界的现状感到担忧，我就会想到希思罗机场的接机厅。很多人都开始觉得我们生活在仇恨与贪婪中，但我并不这么认为。在我看来，爱无处...</small></li><li><a href="http://www.mrzeng.com/post/jqgrid-base-study-5.html" title="jqGrid基础学习：5jqGrid中事件的使用">jqGrid基础学习：5jqGrid中事件的使用</a><br /><small>jqGrid中提供了丰富的事件。主要如下，这些只要看看就好。部分用不到，部分要到再详解。





Event
Parameters
Description


afterInsertRow
rowid
rowdata
rowelem
This event fires after every inserted row.
rowid is the id of the ...</small></li><li><a href="http://www.mrzeng.com/post/flash-voice.html" title="系统、FLASH播放没有声音的处理方法">系统、FLASH播放没有声音的处理方法</a><br /><small>如果出现系统如QQ上线等没有声音、而且FLASH播放也没有声音。那么可以这么检查：1、检查声卡：在我的电脑点击右键，选择硬件中的设备管理器，点声音、视频和游戏控制器前面的+，如果子项目中有红色的叉叉，那么就说明没有安装好驱动。2、如果你是使用音箱，那么请调换音响的插孔，换下声道试试。...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.mrzeng.com/post/difference-between-jboss-and-tomcat.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

