Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jstl tld libs  RSS feed

 
vik ar
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To my joy I placed the jstl1.2 jar in my lib folder, specified the declarations at the top of my jsp pages and everything worked wonderfully. However I was wondering is it possible to get the tld files and store them locally as opposed to referencing some url. That way if the sun site goes down my web app wont
 
Ram Para
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you can download the tld.
You can add them to WEB-INF folder and can refer using /WEB-INF/xyz.tld.

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NO!!!

Do not extract the TLD files and put them anywhere! They are already in the jar file.

Sun's site has nothing to do with it! The Sun site could fall into a volcano and everything will still work. The URI that identifies the TLDs are not URLs that access anything over the network. They are just URIs.

Leave things be!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ram Para wrote:Yes you can download the tld.
You can add them to WEB-INF folder and can refer using /WEB-INF/xyz.tld.

Do not do this!
 
Ram Para
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is one of the option, it depends on you weather you want to use it or not.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, it is not. It's needless, fragile, and an invitation to problems in the future.

There is not one good reason to use such an "option".
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!