I would like to format number displayed by tag in Struts 2. There is a double value. How can I do that? Sho
double
If your property is not number in your action then the getText will not work on it. The pattern accept numbers only. In this case you can go with fmt as mentioned by @sarie