This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

How to send parameters to another website

Alix Sye
Greenhorn

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: 1088
Append it to the URL and use request.getParameter() in the other servlet.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60732
    
  65

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]
 
 
subject: How to send parameters to another website
 
Similar Threads
JAR FILE ON WEBSERVER
do dial up line or dedicated line make a difference?
JAR FILE ON WEBSERVER
Passing values in URL to Java Web application
how to read POST type parameters in a servlet using doPOST