Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error with JSTL tags
Error with JSTL tags [message #690434] Wed, 29 June 2011 10:18 Go to next message
Clinton  Dipietro is currently offline Clinton Dipietro
Messages: 1
Registered: June 2011
Location: Arizona, United States
Junior Member

I have Eclipse Version: 3.6.2. In my JSP's I have the following taglibs

<%@ taglib uri="//java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="//java.sun.com/jsp/jstl/functions" prefix="fn" %>

Eclipse shows a error
"Cannot find the tag library descriptor for "//java.sun.com/jsp/jstl/core"

And i have few c:when and c:if tags. Eclipse shows
Unknown tag (c:when).

Can anyone please let me know how to get eclipse working for JSTL tags.

Thanks
Clint
Re: Error with JSTL tags [message #690473 is a reply to message #690434] Wed, 29 June 2011 10:55 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 2711
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 29-Jun-11 08:18, Clinton Dipietro wrote:
> I have Eclipse Version: 3.6.2. In my JSP's I have the following taglibs
>
> <%@ taglib uri="//java.sun.com/jsp/jstl/core" prefix="c" %>
> <%@ taglib uri="//java.sun.com/jsp/jstl/functions" prefix="fn" %>
>
> Eclipse shows a error
> "Cannot find the tag library descriptor for "//java.sun.com/jsp/jstl/core"
>
> And i have few c:when and c:if tags. Eclipse shows
> Unknown tag (c:when).
>
> Can anyone please let me know how to get eclipse working for JSTL tags.
>
> Thanks
> Clint

These tags come out of JAR you do not have. You'll have to figure out
which one, where to get it, etc.
Re: Error with JSTL tags [message #690623 is a reply to message #690434] Wed, 29 June 2011 16:48 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 1853
Registered: July 2009
Senior Member
On 6/29/2011 10:18 AM, Clinton Dipietro wrote:
> I have Eclipse Version: 3.6.2. In my JSP's I have the following taglibs
>
> <%@ taglib uri="//java.sun.com/jsp/jstl/core" prefix="c" %>
> <%@ taglib uri="//java.sun.com/jsp/jstl/functions" prefix="fn" %>
>
> Eclipse shows a error
> "Cannot find the tag library descriptor for "//java.sun.com/jsp/jstl/core"
>
> And i have few c:when and c:if tags. Eclipse shows
> Unknown tag (c:when).
>
> Can anyone please let me know how to get eclipse working for JSTL tags.

Unless the h t t p : were stripped from the post, does it work when you
Run the page On Server? You didn't mention whether it worked at runtime
or whether you just had put the directives in a JSP.

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:How to go to function definition in Eclipse: JSP file
Next Topic:Eclipse modelling - which plugins would be helpful for models creating/editing/validating...
Goto Forum:
  


Current Time: Fri May 24 05:32:03 EDT 2013

Powered by FUDForum. Page generated in 0.01400 seconds