在Resin(BaseModule)中运行的JSP标签库在Weblogic中不能运行。

 
这是 " 的嵌套(Nest)问题。
通过将
<imartj2ee:Param name="name" value="<%= (String)request.getAttribute(\"Name\") %>"/>名称</imartj2ee:Link>
更改为
 <imartj2ee:Param name="name" value="<%= (String)request.getAttribute('Name') %>"/>名称</imartj2ee:Link>
,就可以运行。
Resin可以识别此双引号的范围大,因此可以运行,但从J2EE设计(式样)的角度来说,Weblogic的运行是对的。

-- 适用对象 ----------------------------------------------------------------
iWP/Web系统构建基础/WebPlatform/AppFramework
--------------------------------------------------------------------------------


FAQID:269
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助
由 Zendesk 提供技术支持