If you want to request data (from a remote URL) within your Java code for use in some other way (like scrape it then massage it into whatever you need) you'd need to use any of several HTTP client libraries.
I'm not a JavaRanch person but I suspect someone will tell you that you'll need to change your username as per the JavaRanch username policy. [ December 06, 2008: Message edited by: David Newton ]
Joined: Dec 06, 2008
Actually we are trying to redirect the user to a Payment Gateway to take online payment.