Check out the applet.getAppletContext().showDocument method to replace the current page with another one.
Some hints on how to access servlets/JSPs can be found on this wiki page.
Joined: Jun 06, 2002
Thanks! Btw, how do I pass an array of obj or a hashmap from an applet to a servlet? via session? how?
Joined: Mar 22, 2005
Through serialization, as outlined in the example linked from that page. Or are you talking about passing it along as part of the servlet call that will replace the applet? Then you'd have to add it as an URL parameter. That might involve the java.bean.XMLEncoder class and some base64-encoding of the result.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Applet and Servlets: Redirecting to Servlet inside an Applet