hi guys hope you re doing well please i ve connect a file with class name singletonconnection to my database and it s all working and i created a class to implement some sql querys like selet from and insert into . i tested this in a class test and it is working i can insert and select an assistant but when i use jstl and servlet to insert an assistant using a form it gives me this mistake on the page . java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "conn" is null"
. please if you know the answer don t hesitate to comment it .thank you
i try to write describe a probleme and i m looking for an answer