Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xmlhttp in jsp

Status
Not open for further replies.

travisbrown

Technical User
Dec 31, 2001
1,016
How viable is xmlhttp in jsp? Anyone know of some good samples? I've worked with it in asp, but wondering it there is something comparable in jsp.

Thanks.
 
Do you mean as in the new buzzword AJAX ?

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Well, yes and no. It's used in AJAX. I just need to pull some content in crossdomain. I'm not looking for a full AJAX implementation.

On an IIS server I'd do this:

Code:
<%
  Response.Buffer = True
  Set xml = Server.CreateObject("Microsoft.XMLHTTP")

  xml.Open "GET", "[URL unfurl="true"]http://www.domain.com",[/URL] False
  xml.Send

  Response.Write xml.responseText
 
  Set xml = Nothing
%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top