*
The moose likes Websphere and the fly likes WebSphere Application Server 6.0.2.0 (Error 500) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WebSphere Application Server 6.0.2.0 (Error 500)" Watch "WebSphere Application Server 6.0.2.0 (Error 500)" New topic
Author

WebSphere Application Server 6.0.2.0 (Error 500)

Ananthasivan VK
Greenhorn

Joined: May 17, 2007
Posts: 2
Hi All

Please help me to resolve this exception

Error 500: java.math.BigDecimal: method <init>(I)V not found

This occurs when trying to print a BigDecimal No: on a JSP page
For this I have used a Bean and a JSP
In the JSP I call a method of the Bean which returns a BigDecimal and then
it is printed on to browser using out.println(value);

If I use the BigDecimal value directly (no bean usage) then it will print the exact value no issues with that.

The problem arises only when trying it with Bean.

Please reply if you know or have any idea to resolve


Regards<br />Anand
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

"Ananthasivan VK",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Please show us the JSP code that is producing this error as well as the relevant getter from the bean. It would also be helpful to have the full text of the exception as well as the first few lines of the stack trace.
[ July 06, 2007: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
Ananthasivan VK
Greenhorn

Joined: May 17, 2007
Posts: 2
Hi Merrill

The JSP code:


The Bean Code :
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebSphere Application Server 6.0.2.0 (Error 500)
 
Similar Threads
struts 1 - mapping
Loss of precision worry when using Math.pow()
how to use ceil() method for a bigdecimal type value in java?
converting float hex to int
Homework help...