Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception  RSS feed

 
deep raj
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
String s3=request.getParameter("tex");
out.print(Float.valueOf(s3).floatValue()); // it shows correct value 10.0


but when i write it in SQL Query it shows java.lang.NumberFormatException:null
then what should i do?
thankyou in advance
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hard to say, since you don't include the code.

Also, please UseAMeaningfulSubjectLine.
 
xsunil kumar
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post your complete code
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!