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.
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.
Post by:autobot
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