Re: display current date in header

2007-06-06 Thread Vincent Lin
oc/datetime-doc/intro.html -Original Message- From: Ambaris Mohanty [mailto:[EMAIL PROTECTED] Sent: 06 June 2007 08:54 To: 'Struts Users Mailing List' Subject: RE: display current date in header Thanks for your solution. It works fine. But I want to do it without using scrip lets.

RE: display current date in header

2007-06-06 Thread Raghupathy, Gurumoorthy
http://jakarta.apache.org/taglibs/doc/datetime-doc/intro.html -Original Message- From: Ambaris Mohanty [mailto:[EMAIL PROTECTED] Sent: 06 June 2007 08:54 To: 'Struts Users Mailing List' Subject: RE: display current date in header Thanks for your solution. It works fine. But

RE: display current date in header

2007-06-06 Thread Ambaris Mohanty
Thanks for your solution. It works fine. But I want to do it without using scrip lets. How to do? AM -Original Message- From: Norbert Hirneisen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 12:01 PM To: 'Struts Users Mailing List' Subject: RE: display current date

RE: display current date in header

2007-06-05 Thread Norbert Hirneisen
In your jsp: <%@ page import="java.util.Calendar"%> <%@ page import="java.util.Date"%> <%@ page import="java.text.*"%> <% // current Date Calendar cal = Calendar.getInstance(); Date currDate = cal.getTime(); SimpleDateFormat df = new SimpleDateFormat("dd.MM."); String showDate = df.format(cu