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, the > receiver > >will see it as a normal client accessing. Will be > used > >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]
