<?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; Tomcat</title>
	<atom:link href="http://www.mrzeng.com/tag/tomcat/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）。这样就不会报错。 随机日志Struts 2注解实例一本文将通过一个前台通过表单输入user，来实现hello user的方式来讲述Struts2中使用注解。 首先要引入以下jar包 commons-fileupload-1.2.1 commons-io-1.3.2 commons-logging-1.1 freemarker-2.3.13 junit-3.8.1 onl-2.6.11 spring-test-2....身份证的编码安排规则弄个Excel，可以自动生成，进行验证。 cardid 居民身份证编号识别 1、身份证编码规则如下：根据〖中华人民共和国国家标准GB11643-1999〗中有关公民身份号码的规定，公民身份号码是特征组合码，由十七位数字本体码和一位数字校验码组成。排列顺序从左至右依次为：六位数字地址码，八位数字出生日期码，三位数字顺序码和一位数字校验码。 地址码（身份证前六位）表示编码对象第...如何去掉暴风影音的stormlive.exe进程如果安装了暴风影音，常常会在任务管理器的进程中发现stormlive.exe，这是暴风影音的升级程序。如下图 该进程一般来说没有什么太大的用处，而且耗费系统资源。可以设置将其取消掉。方法有两种。 第一种。 进入控制面板，找到管理工具，选择服务，进入下图界面 找到Contrl Center of Storm Media,双击，出现下述界面 点击停...在java项目中使用Zip打包实现文件下载zip压缩下载不仅可以减少网络传输，而且可以实现批量的文件下载。最近在项目中用到，写了个工具类，如下 /* * @{#} ZipUtils.java Create on [...]]]></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/mysql-mysqldump-examples.html" title="MySQL的mysqldump常用的语句">MySQL的mysqldump常用的语句</a><br /><small>MySQL数据库备份一般使用phpMyAdmin，但是对于数据量比较大的时候，使用phpMyAdmin就不合适了。一般推荐使用命令行中的dump进行，而且在Linux环境下，可以使用crontab进行定期备份，减少人工的操作。
 


1、备份所有的数据库，可以使用以下语句


/usr/local/webserver/mysql/bin/mysqldump -uroot -p123...</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/jqgrid-base-study-10.html" title="jqGrid基础学习：10jqGrid的多字段查询">jqGrid基础学习：10jqGrid的多字段查询</a><br /><small>多字段查询就是高级查询，在jqGrid中，高级查询的麻烦在于同后台的交互。

[caption id="attachment_379" align="alignnone" width="718" caption="jqGrid多字段查询"][/caption]

启用多条件查询的方法，是加上.searchGrid({multipleSearch:true});    即可。

    ...</small></li><li><a href="http://www.mrzeng.com/post/struts2-resources-study.html" title="Struts2的教程资源下载汇总">Struts2的教程资源下载汇总</a><br /><small>目前，国内的java培训貌似很热，这应该和国内的环境有关系。特别是随着电子商务的发展，越来越多的平台都转换到java的平台上来进行开发建设。
原来自己一直使用Struts1，虽然很早知道Struts2出来了，但是一直没时间去看。最近花了点时间看下，感觉确实比Struts1.x好得多。个人感觉有以下几点
   1、可以开始使用注解，使用注解的方式一直是我最喜欢的开发方式。虽然从软件开发的理念来讲...</small></li><li><a href="http://www.mrzeng.com/post/json-positioned-update-not-supported.html" title="Json下的Positioned Update not supported解决方法">Json下的Positioned Update not supported解决方法</a><br /><small>今天使用json输出的时候报了这个错误，原因找了一下，发现使用hibernate自动生成的一些类会出现这个情况，主要是因为hibernate使用了延迟加载所造成的缘故。
因为我的系统前台使用的jquery-easeyui的dataGrid表格，所以，只能重新建一个类来进行。代码如下


package com.mrzeng.action;

import java.util.Array...</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>

