• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

taglib-uri AND uri

 
Manikandan Jayaraman
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone clearly explain me the following:

- what value should be placed in uri.
- when uri takes an absolute path and when can it take relative path.
- when and at what times do we REALLY need taglib directive in DD.

Thanks in advance!
 
Stary Kapec
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

- what value should be placed in uri.


There should be placed a unique string value, so that no two same uri values exist in the application to avoid conflicts.


- when uri takes an absolute path and when can it take relative path.


Uri takes a string value and the value is not further interpreted in any way.
It should be a unique string value. It can resamble or be a path but it does not need to.


- when and at what times do we REALLY need taglib directive in DD.


Before JSP 2.0 taglib element was necessary but now adhere to JSP 2.0 it is not.
By the way... it is not taglib directive that is in DD, but it is taglib element. Taglib directives are used within jsp pages.
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does it say in the JSP specification on this topic?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic