title: How to convert java.sql.Date to java.util.Date in dd/MM/yyyy format?
body: <p>I am storing a date to database by converting util date to sql date by using following code</p>
  
  <pre><code>SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");  
  sdf.setLenient(false);
  java.sql.Date dobSQLDate = null;
  Date date = null;
  if(!("").equals(userDob)){date = sdf.parse(userDob);dobSQLDate = new java.sql.Date(date.getTime());}
  </code></pre>
  
  <p>now I want to show this date on my page in the dd/mm/yyyy format in which it was taken...
  How do I convert this?</p>