<?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）。这样就不会报错。 随机日志改变Eclipse默认编码windows --&#62; preferences --&#62; General --&#62; Content types --&#62; Text tree --&#62; Jsp 我们设置最下面的Default Encoding为UTF-8即可. [caption id="attachment_316" align="alignnone" width="438" captio...Struts2的教程资源下载汇总目前，国内的java培训貌似很热，这应该和国内的环境有关系。特别是随着电子商务的发展，越来越多的平台都转换到java的平台上来进行开发建设。 原来自己一直使用Struts1，虽然很早知道Struts2出来了，但是一直没时间去看。最近花了点时间看下，感觉确实比Struts1.x好得多。个人感觉有以下几点 1、可以开始使用注解，使用注解的方式一直是我最喜欢的开发方式。虽然从软件开发的理念来讲...Json下的Positioned Update not supported解决方法今天使用json输出的时候报了这个错误，原因找了一下，发现使用hibernate自动生成的一些类会出现这个情况，主要是因为hibernate使用了延迟加载所造成的缘故。 因为我的系统前台使用的jquery-easeyui的dataGrid表格，所以，只能重新建一个类来进行。代码如下 package com.mrzeng.action; import java.util.Array...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/java-zip-download.html" title="在java项目中使用Zip打包实现文件下载">在java项目中使用Zip打包实现文件下载</a><br /><small>zip压缩下载不仅可以减少网络传输，而且可以实现批量的文件下载。最近在项目中用到，写了个工具类，如下


/*
 * @{#} ZipUtils.java Create on Jan 18, 2010 2:45:47 PM
 * Copyright (c) 2009 by Huashui.
 */
package com.peaksport.export.zip;

import...</small></li><li><a href="http://www.mrzeng.com/post/centos-vsftpd.html" title="Centos的vsftp搭建方法">Centos的vsftp搭建方法</a><br /><small>公司要架一台新的图片服务器，对比了centos下的几款ftp，最后还是继续选择vsftp。
搭建的方法如下：
一、下载安装
   1、安装Vsftpd

yum -y install vsftpd*
  
   2、安装PAM

yum -y install pam*
   
   3、安装db4
 
yum -y install db4*
 


二、配置vsf...</small></li><li><a href="http://www.mrzeng.com/post/jqgrid-base-study-11.html" title="jqGrid基础学习：11jqGrid的查询时和后台的交互">jqGrid基础学习：11jqGrid的查询时和后台的交互</a><br /><small>jqGrid查询时和后台交互是一个比较棘手的问题，因为发送过来的数据不规则。


单字段
我们通过Firefox的firebug来进行调试，我们发现提交搜索请求后，向后台发送的参数如下
[caption id="attachment_382" align="alignnone" width="300" caption="单字段同后台交互"][/caption]
由此，我们看出单字段查询...</small></li><li><a href="http://www.mrzeng.com/post/chongshi.html" title="重拾">重拾</a><br /><small>重拾起博客，发现好久没写了，竟然孵化出了懒惰，还是像重新建起来，写写。

过去的几个月，自己做了好多决定，回想，一切都是不可思议，人生，就是这样，只有写在记忆里面的，才能明白，才能细细品味。享受人生要往前看，感悟人生只能往后看。
2011年9月7日于曾厝垵。...</small></li><li><a href="http://www.mrzeng.com/post/jqgrid_base_study_8.html" title="jqGrid基础学习：8jqGrid中在导航条使用按钮">jqGrid基础学习：8jqGrid中在导航条使用按钮</a><br /><small>jqGrid中可以再导航条上设置按钮，其中jqGrid已经默认设置了一些按钮，此外，用户也可以自定义自己的按钮。

使用默认的方法
系统中默认的按钮主要是对数据进行CRUD的操作的按钮。方法如下

jQuery("#list").jqGrid('navGrid','#pager',{edit:true,add:true,del:true,view:true},{
//这里可以指定edi...</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>

