This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need urgent help on posting data to other site.

 
Manoj John
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am working on struts.In my application one registration form
is there,user can enter data and on clicking the submit button i need to insert the data in our database also i 've to post it to one other site.
ie we both site need that data.first part that is inserting to our database is ok but how i can post the data to other on same time and to show their(other site's) page for further processing.please help....
[ August 19, 2004: Message edited by: Manoj John ]
 
Manoj John
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..
Anybody please give me a solution for this.
 
Manoj John
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi nobody is there??

Now i am paasing data through pixel instead of posting(i don't know how to post to other site)
like this
<img src="http://www.someothersite.com/asp/catchpixel.asp?userId=123&firstName=sfaff" height=1 width=1 border=0>
on loading the particular page the asp action will execute it is working
but the problem is that after executing that i need to redirect to some other page of that site(not our site).if sendRedirect is ther the passing pixel data makes some problem it is not executing the action.
please give any solution that sendRedirect should work only after executing the action embedd in <img tag.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A redirect will lose any parameters being sent along.

Either your other site needs to access the db or you need to perform a forward instead of a redirect.

I have no clue what the pixel thing is you're doing but I'm curious.
 
Manoj John
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes Marc,
when the image tag loads the corresponding action will execute.The user won't get aware of that.
in that action we can get the data as request parameter...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic