Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I do XML over HTTP in java?

843834May 30 2003 — edited Jul 21 2003
Here's a sample of some serverside VBScript that does what I want the java to do. Basically it just gets the text of the html page or xml document and can be retireved from the xml.responseText varible.

Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", "http://java.sun.com", False

' Pull the data from the web page
xml.Send

' Print the source to the screen
Response.Write xml.responseText
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 18 2003
Added on May 30 2003
1 comment
127 views