You used to be able to non-parsed headers in CGI to do server
push. I don't think you can do that with servlets/JSP. Thus you can
either do a meta refresh OR write an applet that does the request
for you OR set a Javascript timer. They all do the same thing.

Mark

On 21 Mar 00, at 1:01, Lee Elenbaas wrote:

> I don't know of any way to make the browser receive a real push content.
> But you can create a similar effect by timed refresh loop.
> You need to add the tag <meta http-equiv="REFRESH" content="~time~;
> url=~url~"> and simply replace the ~time~ with the delay time in seconds and
> the ~url~ with the url you want to load. If you do that on a small side
> frame you can even hide the visual effects of the refresh from the user &
> then embed a refresh in the resulting html to the actual content each time
> it's needed.
> lee
>
> Lee Elenbaas
> RTS Israel
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Work: (972) 2 5810748 ext: 207
> Fax: (972) 2 5815507
> ------- Life building in 2 easy steps --------------
> - First design the best structure you can.
> - Then implement it as simple as you can.
> That's the best way to complicate life!
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Eugene Voznesensky
> Sent: Tuesday, March 21, 2000 12:25 AM
> To: [EMAIL PROTECTED]
> Subject: Push from server
>
> Hi,
>
> Please let me know how can a server send any 'response'  without user's
> request?
>
> Thanks.
>
> Eugene.
>
> ===========================================================================
> 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
>
> ===========================================================================
> 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
>
>

===========================================================================
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