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

JSTL Expressions  RSS feed

 
Saathvik Reddy
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using jstl core tags. I am trying to do:


I don't get any error but the expression is not been evaluated. So the question is can we have scriplets in the jstl expression as above?


Thanks,
Srikanth.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Srikanth Reddy wrote:So the question is can we have scriplets in the jstl expression as above?

No. The JSTL and EL are meant to replace scriptlets. They do not work together.
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scriplets should be avoided.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!