Hello there fellows,
I've been doing a
JSP about a teacher, that needs to log in, and when he does and his acc is verified in a database (db4net) he stays in the JSP,
the problem is all of the data gets returned to the JSP from the database (name, last name, cellphone, sex etc.) then I made a Combo Box where it
shows the different subjects he teaches.... in this case it shows "Math 5" and "Advanced Math" .... the thing is when I try to like select a subject and run
it with a button to get it "out.print" it shows me this annoying error of "java.lang.NullPointerException", so then I worried and tried to do a simple Combo Box
and also the "java.lang.NullPointerException" error came, but anyways here's my code (sorry for spanish code, tried to
translate it a bit). I put it in color red, hope you can help new to programming