| Author |
wanted a example for displaying currency in jsp
|
abbimalla Chandra Sekhar
Greenhorn
Joined: Jan 23, 2006
Posts: 2
|
posted

0
|
i want to display currency in the jsp like - 500.00 now it is displaying like - 500 this one i want in struts. can anyone help me? chandu.
|
 |
Jessica Sant
Sheriff
Joined: Oct 17, 2001
Posts: 4313
|
|
|
moving this to the struts forum, seeing as though you're interested in how to do this in Struts. Please post your replies there. Thanks!
|
 |
Rashid Mayes
Ranch Hand
Joined: Jan 11, 2006
Posts: 160
|
|
Are you simply looking to format a number? If so, look at the NumberFormat class. Example
|
Rashid Mayes
http://www.hostj2me.com/ - http://www.worlddeveloper.org/
|
 |
Gail Mikels
Ranch Hand
Joined: May 07, 2001
Posts: 634
|
|
Here's what works for me, with jstl... Include at top of jsp page: To display: [ January 24, 2006: Message edited by: Elaine Micheals ]
|
Gail Mikels
|
 |
Arvind Gudiseva
Greenhorn
Joined: Jan 25, 2006
Posts: 2
|
posted

0
|
|
Please let me know how to format text field (html:text) to currency or 0.00 in struts.
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
See this thread for a discussion of this problem.
|
Merrill
Consultant, Sima Solutions
|
 |
 |
|
|
subject: wanted a example for displaying currency in jsp
|
|
|