It sounds as though what you have already done is what I actually need. I have an applet that needs to either send a response to the browser to request a servlet, or communicate with the servlet directly and send the response back to the browser after a set period of time, TimerTask. (It's a Logout servlet that activates on a countdown timer).
Not even sure what this does, so I am not terribly gifted in Java, but am trying. > applet.getAppletContext().showDocument(URL url, String target) Ideas ? -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of rajac Sent: 11 December 2001 19:11 To: [EMAIL PROTECTED] Subject: Applet to Servlet Communication Hi guys, I am sending the request from applet to servlet. I want to display the response in a html page. I am creating the html page in the servlet itself. But when i send the request, the servlet gets initilized(this we can see in the web server), and after that nothing happens. But I am able to getback the response and display in the applet from where i made request to the srevlet. The above one works fine when there is html instead of Applet as GUI. I think that the reason is, Applet keeps open the connection to servlet. But i am not able to get how to overcome this. If the problem is not clear, plse ask me again. Thanks in advance. Rgds., C.Raja ----- Original Message ----- ___________________________________________________________________________ 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
