Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Error in Eclipse jsp file
Error in Eclipse jsp file [message #206068] Thu, 20 December 2007 15:29 Go to next message
Eclipse User
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 Dahyabhai
Messages: 2310
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 WTP, IBM
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: Sat Oct 25 04:32:29 GMT 2014

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

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