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.
Ping & DNS - updated with new look and Ping home screen widget
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.
subject: Applet and Servlets: Redirecting to Servlet inside an Applet