Results 1 to 2 of 2

Thread: JSTL error

  1. #1
    Eric is offline Senior Member
    Join Date
    Jun 2007
    Posts
    111
    Rep Power
    0

    Default JSTL error

    I try to use Custom Tags in an application web and I add
    Java Code:
     <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    But it doesn't recognize any tag, for example:
    Java Code:
    <c:if>, <c:forEach>
    The absolute uri: JavaServer Pages Standard Tag Library can't resolve it or in web.xml or in the jar files

    How can I resolve this?
    the tags
    Java Code:
    <%@taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
    are recognized and works fine

    Eric

  2. #2
    Daniel is offline Member
    Join Date
    Jun 2007
    Posts
    91
    Rep Power
    0

    Default RE: JSTL error

    I usually use jstl and the sentence that I use is

    Java Code:
    <%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
    Inside of the WEB-INF you must have the c.tld file so it works without problem

    Daniel :o

Similar Threads

  1. Iterating through result set in JSTL
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-15-2008, 04:13 PM
  2. Iterating through result set in JSTL
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-14-2008, 10:31 AM
  3. Jstl Exception Handling
    By vamsidharpoosarla in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 07-18-2007, 07:17 AM
  4. JSTL Exception Handling
    By chaatf in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-18-2007, 03:24 AM
  5. Problems Struts-JSTL
    By Peter in forum Web Frameworks
    Replies: 2
    Last Post: 07-04-2007, 07:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •