> I have an applet that sends info to a Servlet, whose job it is to generate
> HTML code to be returned to the browser. I want to direct that HTML to a
> specific frame within the web page that contains the applet. It's sort of
> like this:
>
> FrameSet
>   |
>   |-- main
>   |
>   |-- interface
>           |
>           |-- applet
>
> When the user presses a button in the applet, the Servlet is invoked, and I
> want the HTML content it returns to be placed in the frame called "main".
>
> I can pass whatever parameters required to the Servlet -- the mechanism's
> already in place for that.
>
> How do I go about doing this?
>

myApplet.getAppletContext().showDocument( "Url of the servlet", "main" );

==--==--==--==--==--==--==--==--==--==--==--==--==--==
S.Ramaswamy
Matrix Infotech Syndicate
D-7, Poorti, Vikaspuri, New Delhi, 110018, India
PHONE:    +91-11-5610050,   FAX: +91-11-5535103
WEB         http://MatrixInfotech.HyperMart.Net
==--==--==--==--==--==--==--==--==--==--==--==--==--==

___________________________________________________________________________
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

Reply via email to