Forums Register Login

redirect via http post

+Pie Number of slices to send: Send
hello all,
i want to redirect an user to an url witch only accepts http posts, has anybody an idea how i can do this within a servlet ?
tia
andreas spiessl
+Pie Number of slices to send: Send
As far as I know, you can't since a redirect can only use a URL. You could send a page with a POST form and hidden variables and a button saying click here to go to xxxx
Bill
+Pie Number of slices to send: Send
Or as a slight modification, you can redirect to the second page and make it an 'auto-submitting form'

The advantage here is that although the user has to be sent to an intermediate page, they don't see anything and don't have to do anything.
Dave
+Pie Number of slices to send: Send
hello William, David
thanks a lot, it works fine
andreas
+Pie Number of slices to send: Send
Thats cool David - is that Javascript function widely available? I don't see it in this JS Pocket Reference.
Bill
(whoops, there it is, I should have looked under Form in the first place!)
[ June 28, 2002: Message edited by: William Brogden ]
Always look on the bright side of life. At least this ad is really tiny:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1104 times.
Similar Threads
The SUN website redirects to Oracle
redirect within a servlet
[solved] struts 2 mapping for .action
How to show recent blogs in my webpage
Help me in send redirct
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 05:34:36.