> Servlet NumberFormatException problem
Hi -- Newbie question:
I have class A with the following code in my main method:
System.out.println(Double.parseDouble("19.95"));
This code compiles and runs fine printing out 19.95 to command prompt..
When I copy this exact code into my servlet B's doPost method it compiles fine but when I run the servlet (via browser form submit) the servlet stops executing when it reaches this line. The javawebserver log file says there is a NumberFormatException.
Any ideas why this might be?
Thanks for any help
J

