Mmmm...I don't find any problem with the code. :roll: Is it happening always or only if you leave any of the input field empty? And make sure that all the names or spelled in the same way in both JSP & HTML (for example, is it flopy in both JSP & HTML?) Probably you can paste the entire exception.
posted 16 years ago
always it is giving out put as 0 in jsp page and nothing is getting printed in html page. this is my htmlpg: <HTML> <HEAD> <TITLE>Invoice</TITLE> </HEAD> <BODY> <form action="project6.jsp" method="POST" >
Hi ramakrishna pydipati : I advice you put print statement in your code to enable you know precisely which variable is throwing the null pointer exception; that will help you resolve the problem. anselm
I'm full of tinier men! And a tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book