2

I found that c.tld file of jstl-1.2.jar is located in META-INF/*.* inside this jar. How to access these files from code in this jar? Just with getResourceAsStream("/META-INF/c.tld")? Or META-INF has special processing rules?

Suzan Cioc
  • 26,725
  • 49
  • 190
  • 355

2 Answers2

2

It's ok to get the content of the c.tld using getResourceAsStream. Just do not change it and write back to the file.

https://stackoverflow.com/a/70253/32090

Community
  • 1
  • 1
Boris Pavlović
  • 58,387
  • 26
  • 115
  • 142
0

tld files are related to Tag libraries. These files will specify when you use a tag in JSP, which class to be executed and which method to be executed. You can access TLDs using URI attribute of taglib directive in JSP.

JSTL tutorial on how to use these tag libraries is available at : http://www.roseindia.net/jstl/introduction.shtml

Ravindra Gullapalli
  • 8,591
  • 3
  • 41
  • 66