• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tld files in WEB-INF

 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • 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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • 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
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Ya I found all the necessary tld files inside standard.jar file. Thanks Bear Bibeault
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic