Hello. I can't convert from java.util.date to java.sql.date ...
As it stands,
(1) Input the date in DATE type in JSP and send it to the Servlet. ② Send from Servlet to DAO (3) In the DAO method, an error is displayed stating that the received java.util.date type variable needs to be converted to java.sql.date type when it is stored in the SQL statement.
No matter what method you try, it won't work, so please share your knowledge with us. Thank you.
Recommended Posts