<?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>DBAlife &#187; jsp</title>
	<atom:link href="http://www.dbalife.com/archives/tag/jsp/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dbalife.com</link>
	<description>星光照耀前方</description>
	<lastBuildDate>Tue, 10 Aug 2010 03:34:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>resin2升级为resin3后遇到的jsp显示问题</title>
		<link>http://www.dbalife.com/archives/189.html</link>
		<comments>http://www.dbalife.com/archives/189.html#comments</comments>
		<pubDate>Mon, 27 Oct 2008 09:36:22 +0000</pubDate>
		<dc:creator>skywalker</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[jstl]]></category>
		<category><![CDATA[resin]]></category>

		<guid isPermaLink="false">http://www.dbalife.com/?p=189</guid>
		<description><![CDATA[将系统由resin 2.1.17升级为resin 3.0.25后，发现大部分JSP不能正常显示，错误都类似： Caused by: javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "value" with value "${user.ID}": Unable to find a value for "ID" in object of class "java.lang.String" using operator "." (null) 这是resin3与jstl的问题，需要将resin自带的jstl1.1禁用。 方法如下 ： 将resin的conf文件中： &#60;servlet servlet-name="directory" servlet-class="com.caucho.servlets.DirectoryServlet"/&#62; 修改为： &#60;servlet servlet-name="directory" servlet-class="com.caucho.servlets.DirectoryServlet"&#62;     &#60;init enable="false"/&#62; &#60;/servlet&#62; 在resin的webapp配置中,添加一个&#60;jsp&#62;标签 &#60;web-app id="/test" document-directory="webapps/test"&#62;     &#60;jsp [...]


Related posts:<ol><li><a href='http://www.dbalife.com/archives/82.html' rel='bookmark' title='Permanent Link: ubuntu7.10 JDK手动安装'>ubuntu7.10 JDK手动安装</a></li>
<li><a href='http://www.dbalife.com/archives/200.html' rel='bookmark' title='Permanent Link: caucho-request的范围'>caucho-request的范围</a></li>
<li><a href='http://www.dbalife.com/archives/126.html' rel='bookmark' title='Permanent Link: Apache2与Resin2整合虚拟主机的配置'>Apache2与Resin2整合虚拟主机的配置</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>将系统由resin 2.1.17升级为resin 3.0.25后，发现大部分JSP不能正常显示，错误都类似：</p>
<p>Caused by: javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "value" with value "${user.ID}": Unable to find a value for "ID" in object of class "java.lang.String" using operator "." (null)</p>
<p>这是resin3与jstl的问题，需要将resin自带的jstl1.1禁用。</p>
<p>方法如下 ：<br />
将resin的conf文件中：<br />
&lt;servlet servlet-name="directory" servlet-class="com.caucho.servlets.DirectoryServlet"/&gt;<br />
修改为：<br />
&lt;servlet servlet-name="directory" servlet-class="com.caucho.servlets.DirectoryServlet"&gt;<br />
    &lt;init enable="false"/&gt;<br />
&lt;/servlet&gt;</p>
<p>在resin的webapp配置中,添加一个&lt;jsp&gt;标签<br />
&lt;web-app id="/test" document-directory="webapps/test"&gt;<br />
    &lt;jsp fast-jstl="false"/&gt;      <br />
&lt;/web-app&gt;</p>
<p>最后，将JSP文件中<br />
&lt;%@ taglib prefix=’c’ uri=’http://java.sun.com/jstl/core’ %&gt; <br />
修改为<br />
&lt;%@ taglib prefix=’c’ uri=’http://java.sun.com/jsp/jstl/core’ %&gt; </p>
<p>现在JSP可以正常显示了</p>


<p>Related posts:<ol><li><a href='http://www.dbalife.com/archives/82.html' rel='bookmark' title='Permanent Link: ubuntu7.10 JDK手动安装'>ubuntu7.10 JDK手动安装</a></li>
<li><a href='http://www.dbalife.com/archives/200.html' rel='bookmark' title='Permanent Link: caucho-request的范围'>caucho-request的范围</a></li>
<li><a href='http://www.dbalife.com/archives/126.html' rel='bookmark' title='Permanent Link: Apache2与Resin2整合虚拟主机的配置'>Apache2与Resin2整合虚拟主机的配置</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.dbalife.com/archives/189.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
