Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Error in Eclipse jsp file
Error in Eclipse jsp file [message #206068] Thu, 20 December 2007 15:29 Go to next message
Eclipse UserFriend
Originally posted by: MacAdam.eden.invalid

Hi,

I have the following error in a jsp file
Cannot find the tag library descriptor for /tags/struts-html

The offending code on the first line of the jsp is:
<%@ taglib uri="/tags/struts-html" prefix="html" %>

My WEB-INF/web.xml contains the following lines:
<taglib>
<taglib-uri>/tags/struts-html</taglib-uri>
<taglib-location>/WEB-INF/struts_html.tld</taglib-location >
</taglib>

And the same WEB-INF directory also contains the struts_html.tld file.

What am I doing wrong?

Abel
Re: Error in Eclipse jsp file [message #206084 is a reply to message #206068] Thu, 20 December 2007 18:58 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Abel wrote:
> Hi,
>
> I have the following error in a jsp file
> Cannot find the tag library descriptor for /tags/struts-html
>
> The offending code on the first line of the jsp is:
> <%@ taglib uri="/tags/struts-html" prefix="html" %>
>
> My WEB-INF/web.xml contains the following lines:
> <taglib>
> <taglib-uri>/tags/struts-html</taglib-uri>
> <taglib-location>/WEB-INF/struts_html.tld</taglib-location >
> </taglib>
>
> And the same WEB-INF directory also contains the struts_html.tld file.
>
> What am I doing wrong?

Is this with a Dynamic Web Project? If rerunning validation on the
project doesn't clear it up, try Closing and Opening the project.

---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Custom positioning of the dependency libraries when publishing EAR file to the JBoss server
Next Topic:dangerous HTML formatting
Goto Forum:
  


Current Time: Fri Apr 26 03:15:24 GMT 2024

Powered by FUDForum. Page generated in 0.03658 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top