This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

taglib-uri AND uri  RSS feed

 
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!