• Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between taglib and include  RSS feed

 
sirisha makkapati
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.Taglib and include are used to import/include another jsp in current jsp.what is difference between these two.
can we implent any logic in <@Taglib uri=""/> in this tag
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what you are looking for. They are different mechanisms. The JSP Specification will go into details regarding their use.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sirisha makkapati:
Taglib and include are used to import/include another jsp in current jsp.what is difference between these two.
can we implent any logic in <@Taglib uri=""/> in this tag


taglib is to specify the tag library whereas include is used to include JSP fragment. Where is the problem? As said earlier try JSP Specs. for details.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!