Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NullPointerException in Listener

 
Tahir Abbas
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is about the Listener example in Head First Servlet starting from Page 171. Infact I am contiuously receiving null in breed parameter despite doing all the troubleshooting described in book. Sorry this may be very easy for many of you but as I could not solve it so pasting all files here for help from anyone of you.





Thanks! in Advance.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

You should use lowercase :

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, I see that you are using a very old DTD for your deployment descriptor (2.2!) Check this FAQ.
 
Tahir Abbas
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Christophe for solving this problem.
Tahir
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic