Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » jsp 2.0 tag files.
jsp 2.0 tag files. [message #147550] Thu, 17 November 2005 17:44 Go to next message
Eclipse UserFriend
Originally posted by: mark.markgordon.org

I have tags written using the jsp 2.0 .tag files.

They are included in my jsp file using:

<%@ taglib tagdir="/WEB-INF/tags/html" prefix="h" %>

When I use a tag defined in this directory I get an Unknow tag warning.
This causes a problem because I have so many unknow tag warnings that I
can't edit the file because it is so slow.


How can i get the web tools to see these tags?

Thanks,
Mark
Re: jsp 2.0 tag files. [message #147567 is a reply to message #147550] Thu, 17 November 2005 19:49 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4490
Registered: July 2009
Senior Member

Mark Gordon wrote:
> I have tags written using the jsp 2.0 .tag files.
> They are included in my jsp file using:
>
> <%@ taglib tagdir="/WEB-INF/tags/html" prefix="h" %>
>
> When I use a tag defined in this directory I get an Unknow tag warning.
> This causes a problem because I have so many unknow tag warnings that I
> can't edit the file because it is so slow.
>
> How can i get the web tools to see these tags?

Currently you can't, and there simply isn't enough time to put such
a large addition into WTP 1.0. Please keep an eye on bug 97407 for
when this is implemented.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=97407

--
- Nitin


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: jsp 2.0 tag files. [message #147583 is a reply to message #147567] Thu, 17 November 2005 21:41 Go to previous message
Eclipse UserFriend
Originally posted by: mark.markgordon.org

Then is there an easy way to turn off the warnings for JSP? If so how
would I do this?

I also get some errors of undefined variables that are defined in useBeans
of included files.

<%@ include file="/include/applicationtop.jsp" %>

Also if a useBean is used to create an object in your session but it is
only used via el ${xxxx.xxx} then you are warned that it is never used.

I have so many warnings and errors that I can't edit my files :-) It
seems to only be a problem with larger jsp files. Even though they
compile and run fine.

The large amount of warnings come from use of JSP 2.0

-Mark
Previous Topic:Where can I open the "design view" for xml-file?
Next Topic:a glimpse at I200511162235
Goto Forum:
  


Current Time: Sun Sep 22 21:30:53 GMT 2024

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

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

Back to the top