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

Tld files in WEB-INF

 
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is is necessary to include the default standard tld files in WEB-INF folder. Isn't jstl.jar and stardard.jar sufficient to execute jstl tags in JSP Page.

I tried in tomcat 5.5.9 without the (15 standard) tld files and my jsp page executed with out any error. My friend is saying something is work. He insists tld files has to be included in WEB-INF folder. If this is the case then how my jsp page with jstl tags is working.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

without the (15 standard) tld files



What 15 "standard" tld files?

And yes, to use the JSTL, all you need is standard.jar and jstl.jar.
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


What 15 "standard" tld files?



To name a few

c.tld
c-1_0.tld
x.tld
fmt.tld
sql.tld

Aren't these standard tld files provide the necessary mapping between java class that provides the functionality and the jstl tags in JSP Page that calls these functions.

Then how come without these tld files the container maps the jstl tags with the java functions?
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The necessary tld files are already contained within standard.jar. There is no need to extract them and place them anywhere else. In fact, doing so is a poor idea as it makes it possible for the tlds and the jars to be out of sync with each other.
[ November 10, 2005: Message edited by: Bear Bibeault ]
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ya I found all the necessary tld files inside standard.jar file. Thanks Bear Bibeault
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic