【发布时间】:2011-04-13 10:31:17
【问题描述】:
我正在迁移 ADF 应用程序以在 Websphere 7 中运行。
基本上我正在迁移到 jstl 1.2
我创建了一个新项目,现在可以运行 jsps。
我开始收到标签库错误。然后我发现我必须用 java.sun.com/jsp/jstl/core 的新 uri 而不是 java.sun.com/jstl/core 替换我所有的 c taglib 声明
我对我的每个 jsp 文件都这样做了。现在,当我发布并尝试运行它时,我得到了这个错误。
[Servlet Error]-[/index.jsp]: com.ibm.ws.jsp.JspCoreException: /index.jsp(742,56) /included.jsp(4,58) JSPG0240E: Attempt to redefine the prefix "c" to "http://java.sun.com/jstl/core", when it was already defined as "http://java.sun.com/jsp/jstl/core" in the current scope.
现在每个页面都有新的 uri。为什么它会尝试将其重新定义为旧的 uri?
【问题讨论】:
标签: jstl