| Author |
Post request from applet?
|
Eric Low
Ranch Hand
Joined: Mar 14, 2002
Posts: 41
|
|
Hi How could I perform a post request(and redirect) to an action page from an applet? I have tried the following: The above doesn't seem to work properly, coz it is not "redirect" to the action page. Please comment. Cheers Eric Low SCJP2
|
 |
Rakesh Ray
Ranch Hand
Joined: Jul 25, 2001
Posts: 51
|
|
If u can use html file how about using is as follows: getAppletContext().showDocument(new URL(getCodeBase(),"/help/GettingStarted.html"),"_self");
|
 |
Eric Low
Ranch Hand
Joined: Mar 14, 2002
Posts: 41
|
|
Hi Rakesh I have tried that as a GET request, but I want it to be a POST request instead. Any idea? Eric Low SCJP2
|
 |
Eric Low
Ranch Hand
Joined: Mar 14, 2002
Posts: 41
|
|
Hi All Have no luck so far. I'm thinking of using Javascript to access the variable in the applet instead rite now. I have tried something like this: where getData() is a static method in the applet which returns a String object. However it's not working as well... please help! Regards Eric Low SCJP2
|
 |
 |
|
|
subject: Post request from applet?
|
|
|