how to insert current date in mysql database using jsp?
<p>I am trying to insert the date using this code:</p>

<pre><code>java.sql.Timestamp sqlNow=new java.sql.Timestamp(new java.util.Date().getTime());
pstTimestamp(1,sqlNow);
</code></pre>

<p>On running the code, the result is successful, but the date is not been displayed in the database.</p>
