Hello all!

I need to post one typical name/value parameter to a jsp, from within an applet. But I also want to be redirected to that jsp. Can this be done???

So far I have done this by passing the parameter in the url (which is a get method) using :

this.getApplet().getAppletContext().showDocument(n ew URL(http://...myJSP.jsp?id=5))

I also tried to do this by opening a connection to the jsp:

URL u = new URL(http://...myJSP.jsp);
URLConnection uc = u.openConnection();
PrintWriter pw = new PrintWriter(uc.getOutputStream());

But how am I supposed to send my parameter AND at the same time pass the browser control to that jsp???