• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Tag Files for JSP 2.0 compliant container  RSS feed

 
Ranch Hand
Posts: 206
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Can any one explain me what this mean?

A JSP 2.0 compliant container will automatically genarate an implicit tag library for a set of tag files.



Thanks
AR
 
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The container will look for Tag Files (.tag) under WEB-INF (or a subdirectory of it) (Jarred Tag Files is another story). It will then create a TLD for these files, so you don't need to make one. That's what they mean by "implicit tag library".
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think when we use "tagdir" in jsp to give the info of tag file location , container create itself tld file for given tag.
but when we use "uri" in jsp then container look for tld file created for the tag.
 
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Packaging tag files directly in a web application , The JSP container must generate an implicit tag library for each directory
under and including /WEB-INF/tags/. This tag library can be imported only via the
tagdir attribute of the taglib directive.

But If you placed your tag files as a JAR under META-INF/tags directory then have to declared a explicit tag library OR TLD file to mention the location of that tag files.
<tag-file>
<name>
<path>
<tag-file> element should be used in that case.

Please refer JSP specification 2.0 (JSP.8.4.3 Packaging Directly in a Web Application)

I hope this will help

Thanks
Poonam
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!