• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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?
 
Have you no shame? Have you no decency? Have you no tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic