• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how does the taglib uri get resolved in tomcat?

 
J. Adam White
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When using jstl on tomcat, I can use:



The uri "http://java.sun.com/jstl/core" does not resolve to anything in particular. How is tomcat finding the tld file? Do other servers (such as weblogic) behave the same?

Regards,

Adam
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65126
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat, and any other spec-compliant servers, will search in a few places for .tld files whose internal URI declaration matches the URI specified in the taglib declaration.

Among those places are any .tld files in WEB-INF and its child folders, and any .tld file in the META-INF folder of a jar file on the classpath.
[ September 20, 2005: Message edited by: Bear Bibeault ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic