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.