i trying escape characters
<s:select list="#{'achat d'eclair':'achat d'eclair'}" /> how can escape achat d'eclair in struts2 tags ?
first of #{} notation you're creating map value before : key , after value , don't want key of map complex characters in it.
to escape ' use \\ so:
<s:select list="#{'achatdeclair':'achat d\\'eclair'}" />
Comments
Post a Comment