Hi,
I have a java applet program in one web page, after processing some
data, I want to the applet to open a new web page and pass parameters
to that page too.
Does anyone know how to archive this?
Thank you!
Andrew Thompson - 13 Sep 2007 13:11 GMT
...
>I have a java applet program in one web page, ..
Bad idea.
>..after processing some
>data, I want to the applet to open a new web page and pass parameters
>to that page too.
>
>Does anyone know how to archive this?
// might work, if the browser feels the heck like it..
applet.getContext().showDocument(URL)
(And that word is 'achieve', which is quite distinct
from the meaning of 'archive'.)

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Roedy Green - 13 Sep 2007 14:05 GMT
>I have a java applet program in one web page, after processing some
>data, I want to the applet to open a new web page and pass parameters
>to that page too.
>
>Does anyone know how to archive this?
There is no mechanism I know of to pass parameters to an HTML web page
other than to embed them in that page.
Getting some help from a servlet may be needed. Your Applet sends the
parameters back to the servlet which them embeds them in a web page
and sends it back.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Real Gagnon - 13 Sep 2007 22:58 GMT
> I have a java applet program in one web page, after processing some
> data, I want to the applet to open a new web page and pass parameters
> to that page too.
"Send a message from an Applet to another Applet on a different page"
http://www.rgagnon.com/javadetails/java-0041.html
Bye.

Signature
Real Gagnon from Quebec, Canada
* Java, Javascript, VBScript and PowerBuilder code snippets
* http://www.rgagnon.com/howto.html
* http://www.rgagnon.com/bigindex.html
Richard Maher - 14 Sep 2007 00:15 GMT
> "Send a message from an Applet to another Applet on a different page"
> http://www.rgagnon.com/javadetails/java-0041.html
Cool!
FWIW, if the OP was using Framesets then the original Applet and and
Javascript variables/functions would still be available to the new page in a
different Frame.
Cheers Richard Maher.
> > I have a java applet program in one web page, after processing some
> > data, I want to the applet to open a new web page and pass parameters
[quoted text clipped - 4 lines]
>
> Bye.