yes sir .. i relized it .. :> thx anyway .. my problem just how to use the
timer like what i was asking.. I can handle the jsp side :>
a Beginner
~ HL ~
-----Original Message-----
From: Kevin Duffey [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 29, 2001 3:15 PM
To: [EMAIL PROTECTED]
Subject: Re: Timer problem ...
Someone else replied on how to do the thread. As for sending data to a JSP
page, you can't do that unless you use JavaScript to reload the page every 5
minutes (which would then defeat the purpose for a query in a thread..the
page upon reload would do this task), or use an applet and pass the data
through RMI or something from the server to the applet. This is a lot more
complex task however. I would just use a META tag or JavaScript to reload
the page every 5 minutes.
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Henki Lubis
> Sent: Sunday, January 28, 2001 7:35 PM
> To: [EMAIL PROTECTED]
> Subject: Timer problem ...
>
>
> Hi All...
> How can i make every 5 minutes my class file will getting data from a
> databse and send it to my jsp files ???
> This is what i wanna do actually :
>
> For (every 5 minutes ) do
> {
> _sql = Select * from test;
> rs = Query(_sql);
> }
>
>
> thx for your help.
>
> a Beginner.
> ~ HL ~
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> 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
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
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
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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