• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts $ and % difference

 
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
Pie
Posts: 9266
10
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