Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parse Double

 
rs venky
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
NageswaraRao Karra
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic