Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Best usage of chained method calling in JSTL  RSS feed

 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I have the below code in a JSP


As part of moving this to JSTL, is there a better apporach than below?

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66205
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can nest that all in one expression. Rather messy -- I'd be writing a custom EL function to abstract it out.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!