Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Specify tld location
Specify tld location [message #139845] Tue, 20 September 2005 22:37 Go to next message
Eclipse UserFriend
Originally posted by: topher1120.gmail.com

Hi,
Is there a way to specify the base dir for tlds for a specified project?
I love the auto-completion for taglibs, but notice it only works if the
tlds are in WEB-INF. One of my projects has put the tlds in WEB-INF/lib
and it would be great to point Eclipse to that location to pick up the
definitions.

Thanks,
Chris
Re: Specify tld location [message #139856 is a reply to message #139845] Tue, 20 September 2005 22:49 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Chris Marks wrote:
> Hi, Is there a way to specify the base dir for tlds for a specified
> project? I love the auto-completion for taglibs, but notice it only
> works if the tlds are in WEB-INF. One of my projects has put the tlds
> in WEB-INF/lib and it would be great to point Eclipse to that location
> to pick up the definitions.

Depending on how you're referencing the taglibs in your JSP files,
anything under the parent folder of WEB-INF should be usable. Are
you seeing some URI references not work as expected?

--
- Nitin


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Specify tld location [message #139867 is a reply to message #139856] Tue, 20 September 2005 23:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: topher1120.gmail.com

Correct, the actual directory path to the tag libraries in this project is
WEB-INF/lib/tags/. Don't ask me, I didn't set it up. Anyway, the JSP
editor is not picking these up, so I get warning underlines saying the tag
is not recognized. Anything I can do, short of moving all the tlds to a
different dir?
Re: Specify tld location [message #142325 is a reply to message #139867] Tue, 04 October 2005 02:00 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Chris Marks wrote:
> Correct, the actual directory path to the tag libraries in this project
> is WEB-INF/lib/tags/. Don't ask me, I didn't set it up. Anyway, the
> JSP editor is not picking these up, so I get warning underlines saying
> the tag is not recognized. Anything I can do, short of moving all the
> tlds to a different dir?

No, in fact any location under WEB-INF should work fine. You're not
dealing with .tag/.tagx files, are you?

--
- Nitin


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:"XMLSchema.dtd"; can not be resolved without a base URI
Next Topic:WTP0.7/Eclipse 3.1 errors while updating WSDL
Goto Forum:
  


Current Time: Thu Apr 25 00:05:23 GMT 2024

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

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

Back to the top