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??
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.