Forums Register Login

How to communicate Servlet to applet

+Pie Number of slices to send: Send
Actually i need insert an applet into Servlet.
i.e when i brose for servle along with that an applet will be open in center of the servlet page.
+Pie Number of slices to send: Send
Please don't post the same question to multiple forums. I closed the duplicate one in the Applets forum.

If I understand correctly, then you need an HTML page that's generated by a servlet, and which contains an applet? What exactly is the problem - getting a servlet to generate an HTML page or having that HTML page contain an applet? If the latter, then the AppletsFaq has some links for further information.
+Pie Number of slices to send: Send
 

Originally posted by Ramgopal Reddy:
Actually i need insert an applet into Servlet.
i.e when i brose for servle along with that an applet will be open in center of the servlet page.



Servlet is something that runs in the server and produces the output for the client and applets are java program that runs in the browser.

I could not get the question.If you want to app a applet in the html that is generated by the servlet, then its simple ..just output the applet code in the generated html from the servlet.

But if your communication is something for communication between client and servlet , then you can even consider AJAX for that.AJAX can communicate from the browser to servlet.
Hoo hoo hoo! Looks like we got a live one! Here, wave this tiny ad at it:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 891 times.
Similar Threads
Redirect from servlet to html (or php) web?
from a applet how can i call a servlet??
Servlet and Applet Communication
how to download file from server?
Servlet to applet communication
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:59:36.