• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

taglib URI

 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Does this require internet since uri is pointing to sun site?
 
Author
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

but I'll track it down some day when I have some free time...


Please do post it here.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lasse,
I remeber using it without mapping with JRUN 4.0 some time ago.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic