Sub: Could not get Server Side Include Running
Reference:Java Servlet Programming by Jason Hunter
Chapter 2;Example 2.4(CurrentTime)
Reg platform etc:
OS :Windows 98
java related : jdk1.2/jsdk2.0
WebServer:Apache 1.3.9
Jserv :Apache J Serv 1.1
Matter:
I could not get the CurrentTime output as shown in Figure
No:2-8.I got the o/phe following way:
The current time here is :
The current time in London is :
And the current time in New York is :
I could not get the actual time as required .
Can someone help me out pl.Similarly other SSI programs
are also not working.
Thanks,
RaviKumar
--
RAVIKUMAR CHENGALVALA
[EMAIL PROTECTED] - email
(858) 860-6400 x7011 - voicemail/fax
---- Liwen Chen <[EMAIL PROTECTED]> wrote:
> Dear Preston and Maheshba:
>
> Sorry that I guess I don't understand what you suggested clearly. Now,
> I
> only want to do
> this: print the current time using a jsp file. The time will be updated
> every ten minutes. I wrote
> the jsp file as below, but it doesn't work. Help, please!
>
> <%@ page language="java" import="java.util.*" %>
> <%! Date date = new Date(); %>
> <html><head>
> <title>Refresh Test</title>
> <meta http-equiv="refresh" content="10">
> </head>
> <body>
> Result is : <%= date.toString() %>!
> </body>
> </html>
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html