);
System.out.println(d);
}
SK
- Original Message -
From: Vinu Varghese [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 11, 2006 12:51 AM
Subject: Getting the date/time from the client
Hi All,
I am doing a project in jsp/servlet and tomcat, which requires to take
Hi,
May be you can use:
request.getDateHeader()
Have a look at, there is a related thread there:
http://www.theserverside.com/discussions/thread.tss?thread_id=38542
Vinu Varghese [EMAIL PROTECTED] wrote: Hi All,
I am doing a project in jsp/servlet and tomcat, which requires to take
the
]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 11, 2006 1:24 AM
Subject: Re: Getting the date/time from the client
Thanks SK,
I tried the second solution , but request.getDateHeader(Date) returns -1
.
Also I didn't understand the first solution ( embed a javascript), Can u
pls
[EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 11, 2006 1:24 AM
Subject: Re: Getting the date/time from the client
Thanks SK,
I tried the second solution , but request.getDateHeader(Date)
returns -1 .
Also I didn't understand the first solution ( embed
-
From: Vinu Varghese [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 11, 2006 2:23 AM
Subject: Re: Getting the date/time from the client
SK,
That javascript prints the current client time. But I want the client
time with the request.
The scenario is :
I have
(currentTime.toLocaleString()););
out.println(/SCRIPT);
out.println(/HEAD);
%
/body
/html
SK
- Original Message - From: Vinu Varghese [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 11, 2006 1:24 AM
Subject: Re: Getting the date/time from the client
Message - From: Vinu Varghese [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 11, 2006 1:24 AM
Subject: Re: Getting the date/time from the client
Thanks SK,
I tried the second solution , but request.getDateHeader(Date)
returns -1 .
Also I
);
%
/body
/html
SK
- Original Message - From: Vinu Varghese [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 11, 2006 1:24 AM
Subject: Re: Getting the date/time from the client
Thanks SK,
I tried the second solution
To: Tomcat Users List
Subject: Re: Getting the date/time from the client
Thanks Pid,
I think that is a good idea
Let me try
- Regards
Vinu
Pid wrote:
you can get a Locale from the request, and adjust the time accordingly.
Vinu Varghese wrote:
but that still sets the server date
to Pacific Standard Time? Then what? (assume I am on the east
coast of the USA...)
Tim
-Original Message-
From: Vinu Varghese [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006 8:05 AM
To: Tomcat Users List
Subject: Re: Getting the date/time from the client
Thanks Pid,
I
PROTECTED]
minds.org
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 11, 2006 1:24 AM
Subject: Re: Getting the date/time from the client
Thanks SK,
I tried the second solution , but request.getDateHeader(Date)
returns -1 .
Also I didn't understand
11 matches
Mail list logo