<?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; Jsp</title>
	<atom:link href="http://www.mrzeng.com/tag/jsp/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）。这样就不会报错。 随机日志jqGrid进阶教程：1、jqGrid的样式无法正确显示的原因和解决办法jqGrid引入后，执行，常常会碰到css无法像官方的demo一样正常显示，特别是字体还有一些弹出框， 例如 [caption id="attachment_407" align="alignnone" width="300" caption="CSS变样"][/caption] 这种问题的原因多半是因为html的标准问题，即其写法为 如果要让样式正常，要采用写法如下 ...写在感恩节前夕这是个西方的节日，无论是什么节日，都是一种提醒。 每天要感谢父母，感谢给自己生命： 每天要感谢家人，感谢给自己快乐； 每天要感谢同事，感谢给自己帮助。 最近看了一部电影《love actually》，中文翻译真爱至上，里面的那段话说得很好： 每当我对世界的现状感到担忧，我就会想到希思罗机场的接机厅。很多人都开始觉得我们生活在仇恨与贪婪中，但我并不这么认为。在我看来，爱无处...jqGrid基础学习：11jqGrid的查询时和后台的交互jqGrid查询时和后台交互是一个比较棘手的问题，因为发送过来的数据不规则。 单字段 我们通过Firefox的firebug来进行调试，我们发现提交搜索请求后，向后台发送的参数如下 [caption id="attachment_382" align="alignnone" width="300" caption="单字段同后台交互"][/caption] 由此，我们看出单字段查询...jqGrid进阶教程：3、jqGrid的数据格式化二jqGrid是非常强大的，除了上一讲提到的预置的格式化外，还提供自定义的格式化方法，这种方法也是我比较喜欢的方法。 我们接上面的例子 $("#grid_id").jqGrid({ ... colModel : [ [...]]]></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-no-space-left-on-device.html" title="MySQL出现No space left on device导致的无法启动">MySQL出现No space left on device导致的无法启动</a><br /><small>昨天，在服务器拷贝一个目录的备份后，发现：MySQL无法使用，重启后，也无法启动，出现以下错误：


[root@localhost data]# 091011 10:35:27 mysqld_safe mysqld process hanging, pid 14736 – killed
 /usr/local/webserver/mysql/bin/mysqld_safe: line 1...</small></li><li><a href="http://www.mrzeng.com/post/windows-nginx-php.html" title="在windows上安装nginx+php环境">在windows上安装nginx+php环境</a><br /><small>目前，nginx以其独特的性能越来越博得喜爱，LNMP环境逐步代替了LAMP环境。Nginx从v0.7.52也开始支持windows环境。接下来简要介绍些安装方法。

1、准备好安装软件
    Nginx ：我们选用最新的稳定版本0.7.65。http://nginx.org/download/nginx-0.7.65.zip
      PHP:http://www.php.net/g...</small></li><li><a href="http://www.mrzeng.com/post/ie8-form-input-small.html" title="IE8下表单输入框及其输入的字很小的解决办法">IE8下表单输入框及其输入的字很小的解决办法</a><br /><small>前段时间，一位朋友出现在表单填写中发现输入框变形，并且输入的字很小。一般出现这种情况的有以下2种：
1、windows使用了第三方主题。将主题设置为windows默认，重启IE，再看下是否还会出现这种情况。
2、检查ie的Internet选项中的辅助工具中是否使用了第三方样式。
...</small></li><li><a href="http://www.mrzeng.com/post/jqgrid-formater-2.html" title="jqGrid进阶教程：3、jqGrid的数据格式化二">jqGrid进阶教程：3、jqGrid的数据格式化二</a><br /><small>jqGrid是非常强大的，除了上一讲提到的预置的格式化外，还提供自定义的格式化方法，这种方法也是我比较喜欢的方法。
我们接上面的例子


$("#grid_id").jqGrid({
...
   colModel : [ {name:'sex', edittype:'select', editoptions:{value:"1:男;2:女"}} ... ],
...
});
...</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></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>

