View Single Post
  #4 (permalink)  
Old 09-22-2008, 03:05 PM
daGame daGame is offline
Member
 
Join Date: May 2008
Posts: 24
Rep Power: 0
daGame is an unknown quantity at this point
Default
Originally Posted by 82rathi.angara View Post
request.setAttribute("sendEmail","Your Email!");
In this code i have added request.setAttribute("sendEmail","Your Email!");
than error comes:
java.lang.NullPointerException
Did you check out how the setAttribute() method looks like in the javaDocs?
Check it out and you'll come to know your mistake

Edit: Here is the JavaDocs

Kind Regards,

daGame.

Last edited by daGame; 09-22-2008 at 03:11 PM. Reason: added javaDoc
Reply With Quote