• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Forwarding data after processing

 
Maky Chopra
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anybody ??? I need some ideas !
 
Zkr Ryz
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeez.. that was so elegantly simple !! It worked like a charm.
Thanks for your help !!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic