>I was under the impression that basic HTML forms only talked to the server
>when someon ehits the submit button, so I think without an pplet you are
>sunk here.
I guess,without user interaction, we can get talk to the server.
See the following code.
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class l_refresh extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
res.setContentType("text/plain");
PrintWriter out = res.getWriter();
res.setHeader("Refresh", "1");
out.println(new Date().toString());
}
}
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
>Date: Sun, 17 Oct 1999 22:17:16 +0100
>From: "[David Griffin]" <[EMAIL PROTECTED]>
>Subject: Re: off-topic: HTML
>To: [EMAIL PROTECTED]
>
>With out an applet (ie doing this from a servlet) you are going to have to
>force a refresh of the page every time they muck with the combo box.
>
>I was under the impression that basic HTML forms only talked to the server
>when someon ehits the submit button, so I think without an pplet you are
>sunk here.
>
>___________________________________________________________________________
>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
Thank you
Saminathan Seerangan
510-574-7898
___________________________________________________________________________
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