Contact: Tel: 2726 - New Media Systems, 1st Floor South, Queens Walk I doubt you can do (correct me if I am wrong) ... The reason is that JSP pages will be compiled by the container to turn it into a servlet which in turn generates a plain HTML page in which your applet will be embeded. This page is then send to the client to be viewed inside a browser. The JVM on the machine where your browser is running will then run your applet. By this time, the JSP does not exist any more. Trying to establish a stream to the non-existing JSp is not possible. Remember applets run on client machines, and servlets run on server machines, hence the need to have applet - servlet communications. JSP does not run on any machine. It is converted into a servlet which does not have a URL (or does it?) Charles Raj Kumar Jha <[EMAIL PROTECTED]> on 10/18/2000 07:19:41 AM To: [EMAIL PROTECTED] cc: (bcc: Charles Chen/YellowPages) From: Raj Kumar Jha <[EMAIL PROTECTED]>, 18 October 2000, 7:19 a.m. JSP-Applet communication [Scanned by Yellow Pages PostMaster] Hi, I have an application which uses Applet - Servlet communication. Now I want to use JSPs instead of Servlet. Can I open an output stream to a JSp and proceed as I had done in the case of Servlet - Applet. I searched in the archives but there was no reference to this topic. Any suggestions??? Raj ___________________________________________________________________________ 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 ___________________________________________________________________________ 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
