This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Thanks for your reply sagar, The problem is in my action class also the value is coming as '.2' and I want it as '0.2' where should i handle it. in query or in action class. the class you were talking about is formatting of numbers. I am not getting. Can you send me some sample line code how can i achieve this?
Can you post the code, showing How you displaying them in JSP page with Action class, from where they are originating ??
Joined: May 12, 2008
Actually the values are originating in the result of the select query. that means in resultset the '.2' like values are there. So I think i should handle it in query itself. Do you have any idea how it can be handled in query