I am trying to display pages from a firewalled web server on an accessible web server. I have access to the public web server and the public web server has access to the private one. In a way I want to have a mini local web client imbeded in a section of my web page. I don't need to browse, just see the status of a backend server.
I am using c# and aspx code behind to access the page. I can get some of the page using this:
I have at least two problems. The hard one first. The text, buttons and links show up, but the images are not displayed and reference local files, not the images from the site. There is also a Java Applet on the page that does not work. I get Applet X notinited. Is there a simple solution to fix this?
If Response.Write is the best way to do this I would like to have Response.Write write the output to a specific location (like a cell in a table) or a new popup window. I saw an example here to use:
[HTML]<span id="myLabel">
<% Response.Write "Some Text" %>
</span>[/HTML]
How do I get this to work when the “Some Text” needs to be generated and refreshed in the code behind section?
Thanks
I am using c# and aspx code behind to access the page. I can get some of the page using this:
Code:
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Method = "GET"; response = request.GetResponse(); reader = new StreamReader(response.GetResponseStream(), Encoding.UTF8); result = reader.ReadToEnd(); Response.Write (result);
If Response.Write is the best way to do this I would like to have Response.Write write the output to a specific location (like a cell in a table) or a new popup window. I saw an example here to use:
[HTML]<span id="myLabel">
<% Response.Write "Some Text" %>
</span>[/HTML]
How do I get this to work when the “Some Text” needs to be generated and refreshed in the code behind section?
Thanks