Hi,

   I have an application where I have a Applet in one Frame F1 and dynamic HTML in
other frame F2. I want to send some parameters to the Applet in F1 whenever user
clicks on a hyper-link in Frame F2, and in turn applet does something whenever
any parameter is sent to Applet from HTML.

My question is, is it possible to do something like this using Servlet???
Is it possible to use Servlet as a gatway for dynamic HTML to Applet
communication?

I know you can use JavaScript LiveConnect to pass parameters on a Applet by
invoking its methods from Javascript. But this  solution doesn't works
always. e.g. if you use Java Plugin to run Applet it doesn't allow Applet
scripting.

I was thinking of Invoking Servlet from HTML and set parameters on Servlet
and then Servlet can Pass parameters to Applet. But I couldn't find a way
to invoke Applet directly from Servlet. I know you can invoke Servlet from
Applet but then its diffrent instance of Servlet than the one invoked from HTML.
How do get the parameters set from HTML?
Other thing is when you click on Hyper link and invoke Servlet it tries to
show the Servlet response page and wipes out the hyper link page. Is there a
way to make the Servlet execution silent. i.e. it should not do anything on
client, it should keep the same html, it should just set the parameters on
Servlet and come back.

Any suggestions will be appreciated.

Ashok

[EMAIL PROTECTED]

___________________________________________________________________________
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