This problem with date insertion. I am using back-end as oracle. Actually, in ORACLE, i created a table forummessage, having a column named as "dateofposting date". I created a servlet for storing/inserting the values. But, unable to store date value from the servlet into that table named forummessage. It is saying that java.util.Date and java.sql.Date are not compatible; so, i can i make it compatible and store it.
Please, tell me how can i insert date value(s) from servlet to a table using PreparedStatement.