Hi all.....
I am creating my application using struts2...
I have define variable parameters in my .properties file....
the code of properties file is:
ordercheckout.creditholdflagbusiness1.message1=The order total $ {0} exceeds this account's credit limit of $ {1}
Now i want to use this label in my
JSP page....
I have written a code lyk this in JSP....
<s:text name="%{getText('ordercheckout.creditholdflagbusiness1.message1',{#session.openOrder.orderTotal,#session.selectedServiceLocation.businessId.creditLimit})}" />
but it is showing me output like this....
The order total $ 2,748,586.5 exceeds this accounts credit limit of $ {1}
what sholud i do???
Help me...
Thank you in advance....