This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

taglib URI  RSS feed

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Does this require internet since uri is pointing to sun site?
 
norman richards
Author
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would assume (though I don't know this for a fact) that when the taglibs become standard that the server will provide the tld for that URI automatically. For now, you can just put the tld files in your WEB-INF and resolve them in your web.xml the same way you would any other taglib. That's what I do at least.
What I find really odd is that if I don't map the URI, then JBoss seems to go off over the network to find the tld file. (if I disconnect from the network it hangs, so I'm pretty sure it is trying to go off over the net) However, when I hit that URL in a web browser, I don't get any tld file. I haven't had time to look at where it's coming from yet, but I'll track it down some day when I have some free time...
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but I'll track it down some day when I have some free time...

Please do post it here.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you don't map the URI, there's no way the JSP compiler can know where to look at. Even if it finds two .tld files from somewhere, it still doesn't know which one of those two to map to the "c" prefix.
The URI for JSTL Core is standard and a web container supporting JSTL should recognize it and map it automagically to the JSTL implementation's TLD file.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lasse,
I remeber using it without mapping with JRUN 4.0 some time ago.
 
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!