Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

c:url tag example in HFSJ

 
Wim Bervoets
Greenhorn
Posts: 4
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I tried the example on page 456 of the HFSJ book.


But instead of displaying the URL, I got following error:


So.. according to this message, expressions are not allowed in the value attribute. Is this an incorrect example in the book?

tia,
Wim.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are using an old taglib uri. Please check this FAQ, and change your taglib directive to use JSTL1.1.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Specifically, add /jsp in the middle of the taglib's uri attribute, right in front of /jstl
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic