简体   繁体   中英

login server org.apache.jasper.JasperException

I´m trying to connect my data base since neatbeans but i have this mistake when i run the program, somebody would help me, thanks enter image description here

At line number 26, you have contactos.next() . Here, contactos is null , that is why you are getting this error. Check your program and make sure that contactos is defined correctly.

Ex: ResultSet contactos = statement.executeQuery("select * from contactos");

Also, check for null before iterating over this ResultSet .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM