This content has been marked as final.
Show 3 replies
-
1. Re: Trouble using JSTL
wangjianme Mar 27, 2007 10:50 PM (in response to kreilly)Hello ! try to use <%@ prefix="c" uri="http://java.sun.com/core_rt"%>
-
2. Re: Trouble using JSTL
antoine_h Mar 28, 2007 1:57 PM (in response to kreilly)I use :
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
in the login.jsp page, in the portal-server.war
(see \deploy\jboss-portal.sar\portal-server.war)
added the library in the WEB-INF/lib folder
(\deploy\jboss-portal.sar\portal-server.war\WEB-INF\lib)
in war for portlet, should work the same.
if the tag is not recognized at runtime, may be get the tld file, and add it in the WEB-INF.
for diagnostic purpose... see what happen...
I look at the way it is done with taglib of portal in layout jsp pages, or admin portal jsp pages... and make the same for the jstl lib
hope it helps... -
3. Re: Trouble using JSTL
kreilly Mar 29, 2007 11:24 AM (in response to kreilly)Hi All,
thanks for the help. It turned out that I needed to add the following line to the top of my JSP:
<%@ page contentType="text/html" isELIgnored="false"%>
This tells the JSTL tags to evaluate the runtime expression, or else they assume the rentime will be evaluated before it is passed to the tag.
Thanks again for all the help.