struts2 - Struts 2 getText does not format with atttribute -


i know, in struts 2 when use struts 2 tag , format in https://struts.apache.org/docs/formatting-dates-and-numbers.html did not output of formatting. value blank.

below code

   <s:set var="valueformat" value="%{gettext('{0,number,#,##0.00}',{#attribute.value})}"/>, 

but when type value "1234556" output formatted. below code

      <s:set var="valueformat" value="%{gettext('{0,number,#,##0.00}',{1234556})}"/>, 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -