Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
 <s:if test="[0] == 'something'">

Why to use search [ 0 ]?

The reason is that #parameters would return a Map, the framework conveniently makes request parameters into a Map to make unit testing action easier and the framework also uses