And if it necessarily has to be an applet ... then you can again construct a
GET URL (more easily done )
and use the getAppletContext().showDocument(URL, target) method to achieve the
same from your applet. Although I would go the HTML/Javascript way if your
GUI is simple and no snazzy stuff is required.
Lalith Jayaweera wrote:
> Hi,
> Why can't U write a html orjava script in the first column rather than an
> Applet , if U do so depending on the users event u can call the servlet
> where it's target should be the second column.
> for an eg the code related to the first column will be as follows
>
> ....
> ....
> </HEAD>
> <BODY>
> <FORM method=get action=http://193.214.45.192:7070/myservlet TARGET="forms">
> //here "forms" is the second column and myservlet is the servlet alias
> ...
> ....
>
> <input type=submit value=send>
>
> same thing can be done using java script as well.
>
> Hope this helps
>
> lalith
>
> At 08:29 AM 10/6/99 -0700, you wrote:
> >I have a html file which contains frameset with 2 column, in 1st column i
> am running a applet (which poll for a event) and in 2nd column I want to run
> servlet. I have already written both applet and servlet. Now
> >
> >1. I want know how to put servlet in the 2nd column of frame set. (servlet
> tag ??)
> >2. from my applet I want to redraw/reload/refresh the servlet if any event
> occurred ?
> >How to do it ?
> >
> >Thanx in advance.
> >
> >___________________________________________________________________________
> >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
___________________________________________________________________________
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