This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

querry relating to Tag library  RSS feed

 
Ranch Hand
Posts: 209
Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone tell me how Classic tag handlers and Tag files CAN reside in the same tag library. ??
Correct me if i am wrong if abc.tag and xyz.tag both reside in /WEB-INF/tags,the container will consider them part of the same tag library.
Then how can Classic tag handlers and Tag files CAN reside in the same tag library. ??
 
Sheriff
Posts: 9613
37
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't exactly understand the question. You can declare tag files and class tag handlers by using a TLD file. Classic tags are classes which reside in classes directory or in jars included in the project and not in tags directory...
 
Sagar Shroff
Ranch Hand
Posts: 209
Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ankit Garg wrote:I don't exactly understand the question. You can declare tag files and class tag handlers by using a TLD file. Classic tags are classes which reside in classes directory or in jars included in the project and not in tags directory...



thats what i am not getting.I was browing web when i was learning tag files and i came up with this statement that says " Classic tag handlers and Tag files CAN reside in the same tag library "
Can you tell me what exactly Tag library imply here ?
 
Creator of Enthuware JWS+ V6
Bartender
Posts: 3123
259
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Then how can Classic tag handlers and Tag files CAN reside in the same tag library. ??



When a tag file is contained in a JAR file (located at /WEB-INF/lib) it should have a declaration in a TLD file, like this:


In this TLD file you are allowed to mix regular tag declarations(classic tags), tag file declarations and EL functions

Regards,
Frits
 
Sagar Shroff
Ranch Hand
Posts: 209
Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Frits Walraven wrote:

Then how can Classic tag handlers and Tag files CAN reside in the same tag library. ??




In this TLD file you are allowed to mix regular tag declarations(classic tags), tag file declarations and EL functions

Regards,
Frits




Thanks alott my friend ! . You cleared this doubt of mine which was always hovering in my mind.
Thanks You

Regards,
Sagar.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!