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!

Response.write

Status
Not open for further replies.

Nanda

Programmer
Nov 14, 2000
104
US
Hi there!

Is it possible to display the contents (unknown) of HTML file using Response.write? somewhat like
response.write "myoutputfile.html"

...or any alternative??

Thanks
 
Hi, Nanda. I'm pretty green on ASP, though I've been programming for 15+ years.

It sounds like an Include will do the trick for you. The contents of the included file will be inserted whereever you put the Include statement.

Robert Bradley

 
Thank you Rober, Thank you Nick for reply.

But Include file needs to be exist before it is created. Thus, it looks for file.

The XMLHTTP seems to be a solution, but "probably" doing strange at my end. It displays the file output. If I change the contents of html file, it does not reflect in anycase, either i refresh my page, close and open browser again...what I am doing wrong or it works like this only. I have copied the code from site and have just replaced the filename.

Thank you again for your response.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top