How to get jstl working
Hello,
I'm using testing Idea 7.
But I can't get the jstl working...
I've created a new Project (and added jsf support)
Now in my index.jsp I have following taglibs
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
It does not know the http://java.sun.com/jstl/core uri... (can't add it)
Are there any new ways to do a <c:if ... > for example?
thanks
Dirk
Please sign in to leave a comment.
Add jstl jar to module.
Dirk Reske wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Hello Dirk,
I'm not using JSF. However, to get plain JSTL to work, wou'll need to add
an JSTL implementation to the classpath.
For example this one: http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
-tt
The was already added by Idea...
Certain jstl jars do not contain tld files in META-INF
Dirk Reske wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Hello Dirk,
Note that the correct URL when JSTL in JSP 2.0 is "http://java.sun.com/jsp/jstl/core".
-tt
Hi Dirk,
If you have Tomcat try to find standard.jar then add it to IDEA.
T.
No, there is no tld in the meta-inf dir of the jstl.jar....
I'm using glassfish
Dirk Reske wrote:
Please, use appserv-jstl.jar then
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"