sorry i forgot to ask this ..when i use :ss  my hh:mm are not working now ..
it was working well (change every a minute) before i added ss

thx

>  -----Original Message-----
> From:         Henki Lubis
> Sent: Friday, June 23, 2000 2:36 PM
> To:   JSP Mailing List (E-mail)
> Subject:      timer problem
>
> guys .. i have a problem .. in my jsp page i am using timer like this
>
> <%
>       SimpleDateFormat _dateformat = new SimpleDateFormat ("EEEEEEEE, MMM
> d, yyyy G 'at' hh:mm:ss aaa");
>       Date _currentdate = new Date();
>       String _currentdatestring = _dateformat.format(_currentdate);
> %>
>
> and i put _currentdatestring like this
>
> <p align="right"><font face="Verdana" size="1">Jakarta, <%=
> _currentdatestring %> (GMT+07.00)&nbsp;</font><font face="MS Sans Serif"
> size="1">
>           </font>
>
> when i try to browse my page .. the second timer doesn't work properly ..
> it just show the second once . not every second .. and i have to refresh
> every second to make the second timer change every second .. any idea how
> to make it change every second ???
>
>
> regards
>
> Henki

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to