wood burning stoves 2.0*
The moose likes Servlets and the fly likes form data retreival Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "form data retreival" Watch "form data retreival" New topic
Author

form data retreival

jamuna
Greenhorn

Joined: Feb 16, 2001
Posts: 8
I'm trying to retreive data from a table.the column type is decimal(8,2).it's an amount and I've inserted a value 123.45 in the table.when I try to retreive this value in the servlet and display using rs.getDouble("amount") it shows as 12345.0 .I'm using the mysql database.Could you please help me in fixing this problem.
Thanks,
Jams
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"jamuna",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.
Thanks.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: form data retreival
 
Similar Threads
FORM DATA RETREIVAL URGENT
Retreiving an image using JDBC
BigDecimal in EL addess scales
DATA RETREIVAL _ URGENT
FORM DATA RETREIVAL...................URGENT!!!!!!!!!!!!!!!!!!!!!!!!!!!