Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to identify the correct uri for taglib

 
John Eipe
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I'm using core and sql tag libraries.




I'm getting error - "According to TLD or attribute directive in tag file, attribute items does not accept any expressions" at line no.17. After some googling, found out that the problem is with the uri. How do I find the correct URI to be used in taglib directives?

Also, How does the JVM map the uri to classes in JSTL jar files?

Thanks,
John
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JSTL Specification contains the correct URIs.
 
John Eipe
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Changed the uri's to

Now it's showing the same error at line no.14
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because those are not the correct URIs for modern JSTL.
 
John Eipe
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops. Sorry. Changed it to


And it's working fine
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic