Hallo, I would like to find a struts tag that can do date formatting for me?
I tried to do it within my objects but it keeps on giving me exceptions Code used. String date_ = "2007-03-07 00:00:00" SimpleDateFormat formatter = new SimpleDateFormat("dd MMM yyyy"); return formatter.format(date_); FAILED Date now = new Date(); // Print the result of toString() String dateString = now.toString(); System.out.println(" 1. " + dateString); SimpleDateFormat format = new SimpleDateFormat("dd MMM yyyy"); try { Date parsed = format.parse(dateString); }catch(Exception e){} FAILED Any help either the struts formatting or the way to fix it will really be appreciated. Kr Neil Meyer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]