Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getAttribute method in servlets

Status
Not open for further replies.

kibaki

Programmer
Feb 10, 2009
1
DK
Hey guys, I am a newbie in servlets and needed help in understanding the getAttribute method. I dont understand what should be passed as a string in the parameter. I have a programme that accesses the database (DBManager) and another programme that uses the getter methods to get the values (DB). I have made a servlet program that i wanted to use to check the attribute and print the results on the jsp page. Unfortunately I keep on getting nullpointerexception. Could someone help me please??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top