• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

taglib-uri AND uri

 
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
arch rival
Posts: 2813
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does it say in the JSP specification on this topic?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic