This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Parse Double Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Parse Double" Watch "Parse Double" New topic
Author

Parse Double

rs venky
Greenhorn

Joined: Dec 25, 2000
Posts: 4
If i try to convert string to double in JSP i am getting following error.
D:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_abc.java:77: Method parseDouble(java.lang.String) not found in class java.lang.Double.
db1 = Double.parseDouble(st1);
^
Examples welcome
Thanks
Venky

venky
NageswaraRao Karra
Ranch Hand

Joined: Nov 12, 2000
Posts: 34
hai!
i think the Double.parseDouble(String aa) is Since Jdk1.2.
with jsp(jws2.0)i got same problem when i am using java.util.HashMap which is Since Jdk1.2. i had to use Hashtable to get the result.
i think the problem is with jsp pagecompiler which is not compatible with this version.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Parse Double
 
Similar Threads
Cannot retrieve definition for form bean null - JSP Error
can't understand this..!!
double subtraction
Cannot retrieve mapping for action
Hibernate: adding underscore to attibute names