aspose file tools*
The moose likes Servlets and the fly likes Forwarding data after processing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Forwarding data after processing" Watch "Forwarding data after processing" New topic
Author

Forwarding data after processing

Maky Chopra
Ranch Hand

Joined: Apr 11, 2001
Posts: 149
Hi FOlks,
Been grappling with this requirement and need some help..
I got a form on website, www.aaa.com/form.html with say, name and password
Its submit will take me to a jsp, www.bbb.com/intercept.jsp which should process the name and password and then forward the data to www.aaa.com/process.pl which expects to receive the data in the same form as if the form.html had action as process.pl the presence of intercept.jsp should ne unknown to the user who should beleive that he is on aaa.com
Sounds malicious ? Its not.. Just a requirement to pass form data to another collecting url before posting by process.pl
Thanks !
[This message has been edited by Mak Bhandari (edited June 27, 2001).]
Maky Chopra
Ranch Hand

Joined: Apr 11, 2001
Posts: 149
Anybody ??? I need some ideas !
Zkr Ryz
Ranch Hand

Joined: Jan 04, 2001
Posts: 187
Probably using javascript.
Once you have read and process the request parameters in intercep.jsp you write a form with the values and then post it using javascript form method : submit.
Im assuming your form is using POST method
Something like:

I hope it works, because I've never use it )
But you can always try dont you ???
By the way if this works, let me know so I can use it also.
Maky Chopra
Ranch Hand

Joined: Apr 11, 2001
Posts: 149
Jeez.. that was so elegantly simple !! It worked like a charm.
Thanks for your help !!!
 
wood burning stoves
 
subject: Forwarding data after processing
 
Similar Threads
weird error with html:form
General Info abt Websphere Vs Weblogic
Getting the value after #
posting the form data in a jsp page to external site
Multiple Sessions in one browser