There are a bunch of them out there on the internet that you could google for.
Keep in mind that you're probably looking for something that supports https since I'm almost positive PayPal would require secure communications.
-a
Riaan Oberholzer wrote:
Thanks.... I was trying to get the answers in the HTTPRequest/Response classes....
I want to use it for PayPal verifications. They send me a url (which a servlet of mine accepts), I send something similar back.
Do they have libraries to do it? Or has someone done it before?
--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
Hi,---------------------------------------------------------------------
How do I "dymanically" create a url, eg:
http://domain.com/servlet.do?name=xxx
Umm, like java.net.URL url = new URL(http://domain.com/servlet.do?name=xxx"); ?
and then, from my Java app, post it. Ie, thereceiver
will see it as a normal client accessing. Will beused
in processing of automatic payments.
If you mean open a connection to it, read up on java.net.URLConnection. But this will be a GET request. If you mean simulate a POST HTTP operation, that's significantly more complicated so I won't go into it unless that's what you really want.
Yoav Shapira
This e-mail, including any attachments, is a
confidential business communication, and may contain
information that is confidential, proprietary and/or
privileged. This e-mail is intended only for the
individual(s) to whom it is addressed, and may not
be saved, copied, printed, disclosed or used by
anyone else. If you are not the(an) intended
recipient, please immediately delete this e-mail
from your computer system and notify the sender. Thank you.
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
