Hi Vieth, It was really a nice explanation you provided. However, I am kind of a new person in this kind of things. So, it will take a little time to understand the whole thing completely.
I want to know the library that is provided by Java. Also if possible, a little usage explanation on that. Thanks, Akshay Vyas --- In [EMAIL PROTECTED], "John Vieth" <[EMAIL PROTECTED]> wrote: > It's basically creating an XML/HTTP stream/object, then fetching a > document with it (which happens to be via POST), then checking the > status of the document retrieval and populating a variable with the > response. > > People often use this technique as a sort of poor-man's web service. > You can do anything you want with the text in strRetval. It doesn't > have to be XML, although that is the spirit/purpose of the class/object. > If so desired, the code could next parse through the response using the > other classes/methods/properties of Microsoft.XMLHTTP. > > I'm not a Java/JSP person, but I'm sure Java has an equivalent > library/classes to accomplish the same thing. > > Does that answer your question? Is there something more specific you > wanted to know? > > - Vieth > > > -----Original Message----- > > From: Akshay Vyas [mailto:[EMAIL PROTECTED] > > Sent: Sunday, August 22, 2004 11:55 AM > > To: [EMAIL PROTECTED] > > Subject: [ASP] HTTP(S) and POST > > > > Hi > > > > Basically I am a JSP guy. I wanted to do a HTTP(S) and POST. > > I have got an ASP example code. Can anybody translate this > > code in JSP? It would be a great help. > > > > Thanks, > > Akshay Vyas. > > > > Dim xml > > Dim strStatus > > Dim strRetval > > Set xml = Server.CreateObject("Microsoft.XMLHTTP") > > xml.open "POST", "https://certification.authorize.net/gateway/transact > > .dll?" & vPostData & "", false > > xml.send "" > > strStatus = xml.Status > > strRetval = xml.responseText > > Set xml = nothing > > > > > > > > ------------------------ Yahoo! Groups Sponsor > > --------------------~--> Make a clean sweep of pop-up ads. > > Yahoo! Companion Toolbar. > > Now with Pop-Up Blocker. Get it for free! > > http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM > > -------------------------------------------------------------- > > ------~-> > > > > -------------------------------------------------------------- > > ------- > > Home : http://groups.yahoo.com/group/active-server-pages > > ------------------------------------------------------------------ --- > > Post : [EMAIL PROTECTED] > > Subscribe : [EMAIL PROTECTED] > > Unsubscribe: [EMAIL PROTECTED] > > ------------------------------------------------------------------ --- > > Yahoo! Groups Links > > > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM --------------------------------------------------------------------~-> --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [EMAIL PROTECTED] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
