aspose file tools
The moose likes Servlets and the fly likes How to send parameters to another website Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

How to send parameters to another website

Alix Sye

Joined: Jun 07, 2006
Posts: 17
Hello All

Please guide me how to send parameters from my servlet to some body else .
The scenerio is some body sent a url to my site padded with a phone number.
i checked the phone number in my database, if the phone was present i want to sent back the status found otherwise i want to send the status not found. please guide me how i sent back the status to the sender who originally sent the the url to my site.... Thanks
Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1090
Append it to the URL and use request.getParameter() in the other servlet.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62827

Please do not ask the same question more than once. Continue any discussion in your original post.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: How to send parameters to another website