java - Prevent default formatting (comma insertion) of long argument in s:message tag -


i have jsp in use spring s:message tag

<s:message code="application.success" arguments="${applicationrefid}" /> 

applicationrefid long variable added model.

in resource bundle, have defined message code quite regularly as

application.success=application {0} submitted 

but results in

application 74,311 submitted 

here long value formatted commas. have 2 questions - why formatting happen, default, , how can prevent it?

as far know can either

  1. convert applicationrefid string before passing messagetag
  2. or apply formatting in resource bundle

     application.success=application {0, number, #} submitted 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -