Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting values with c:out a better way?  RSS feed

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen the use of <c ut value="${value}"/> to retrieve values stored when you do a <c:set var="value" ..../>
Is there a better way?
For example, when I define a varible in PHP all I have to use to get that value is $variable to get that variable. I realize that PHP and JSP don't work the same way, but I was wondering if there was a shorter approach to getting variables in JSP than this.
If not, no big deal. I am just lazy and want to type less.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!