Results 1 to 2 of 2
Thread: Using a JSTL
- 06-06-2011, 10:33 PM #1
Using a JSTL
In one of my JSP pages I am trying to use the fn tag library:
When the jsp is rendered, I am getting aJava Code:<%@taglib uri="/WEB-INF/fn.tld" prefix="fn"%>
Java Code:Error in tag library uri='/WEB-INF/fn.tld' prefix='fn': Tag Library Descriptor contains no Tag descriptions error.
Could my webapp server (WebLogi 8.1) be the problem? I need the fn: 'contains' functionality in the tag library, which is the only reason I am using it. Is there any other way to do a contains inside of my <c:if test${StringA.contains(StringB)}"> type of thing?
- 06-07-2011, 07:55 AM #2
Member
- Join Date
- Jun 2011
- Posts
- 6
- Rep Power
- 0
in the uri atrribute you need to give absolute address of that tag lib like <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> and fn.tld is the part of jstl core library so you need not to mention separately in the jsp page. In order to work with Jstl you need to configure the jstl in web.xml file
Similar Threads
-
regarding jstl and jsp
By bhanusri in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 06-09-2011, 09:26 AM -
JSTL and JSP
By mohinicharankar in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 03-23-2011, 07:26 AM -
Jstl
By prakashkadakol in forum New To JavaReplies: 10Last Post: 01-13-2010, 07:17 PM -
Why are we using JSTL in jsp?
By makpandian in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 06-30-2009, 10:15 PM -
jstl tag <if>
By subha in forum Advanced JavaReplies: 1Last Post: 04-02-2009, 09:07 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks