This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

struts $ and % difference  RSS feed

 
pamir sonmez
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was looking for the iteration logic of sturts tags and I come accross a document whick checks like;



I could not understand the meaning of % character
because I was always using like



Is there a difference between usage of these two characters?
I searched in google, bur character search is not very helpful.
 
Joe Ess
Bartender
Posts: 9414
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at the Tag Syntax document.
'$' is not used in OGNL.
'%' is used to force a value to be a String.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!