Here are a method to display a URL in a frame from an applet

public void showURL (String sLink, String sFrame)
{
        AppletContext context= this.getAppletContext();
                try
                {
                URL LinkURL = new URL(sLink);

                    context.showDocument(LinkURL, sFrame);
                }
        catch (java.net.MalformedURLException error)
        {
            System.out.println(error);
        }
}

sLink is  fully qualified URL with parameters
sFrame is the name of the frame

Good Luck

Tor Kjell

-----Original Message-----
From:   ANUPAMA PONNAPALLI [SMTP:[EMAIL PROTECTED]]
Sent:   11. mars 1999 03:58
To:     [EMAIL PROTECTED]
Subject:        Please reply - posting from applet to servlet - with a twist

Hi,
    I posted this mail yesterday, and i have not got a single reply. I urgenlty
need help on this, and i hope somebody replies this time..

    I am developing an application with an html page with 2 frames. An
applet is loaded in the left frame. When I click on a button on the applet, I
want to save the contents of the form on the right frame page. In other
words, the html page in the right frame should be 'posted'.

   Could anybody suggest a way to do this?? Thanks..

Anupama

___________________________________________________________________________
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

Reply via email to