This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

need urgent help on posting data to other site.

 
Ranch Hand
Posts: 36
  • 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
  • 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
  • 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.
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • 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
  • 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...
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!