Just found out that someone here has done the asp style code you show below but on for showing a single page within the frame. If the http://www.yahoo.com site is more than a single page returned would it still render the 2nd, 3rd, 4th, etc pages in the frame? Say the app first but up a screen asking for some search criteria and a submit button. Users enters criteria clicks submit, a list of results is returned. Wouldn't there need to be an asp page that is returned with a different url listed in order to render the results inside the same frame?

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Scott
Sent: Monday, July 13, 2009 11:10 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] web page with data from two sources

With PHP you can include urls
http://www.php.net/manual/en/function.include.php
So maybe you could include the iSeries pages as widgets from ASP.
I can't test this but it looks like what you might be looking for

from http://www.teamcia.com/xmlhttp.asp
1. Create an ASP page
2. Use the object XMLHTTP
3. Add this ASP code where you want the other page to appear.

<%
Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
objXMLHTTP.Open "GET", "http://www.yahoo.com";, False
objXMLHTTP.Send
strPageText = objXMLHTTP.responseText
Response.Write(strPageText)
Set objXMLHTTP = Nothing
%>


Scott

Vern Hamberg wrote:
Mike

I'm learning, so the experts here can blow this out of the water - can
you have a <div> whose contents are replaced using AJAX techniques? Oh,
and it uses JQuery. Another developer here gave me a very simple
template for doing that from a menu - header and menu and footer are
unchanged, only the content <div> gets changed. Very cool, minimal ASP
code. Each anchor in the menu points to some link that return only text
and markup - stuff that'd be found inside <body> section. 'Cuz the rest
of the page is already there.

HTH
Vern

Mike Cunningham wrote:
We do all of our static web pages for our public site on IIS and use Dreamweaver to create them. We do all of our dynamic web sites from the iSeries. Our public site group would now like us to generate simple single pages (a list of employees for a department) and also multi-page apps (like a shopping cart app with multiple steps) imbedded inside their pages. So they control the header/footer and left navigation using Dreamweaver running on IIS and we produce the code for the content part of the page. We want to stay with writing java apps that run under Websphere on the iSeries and not need to also start developing asp code for IIS. I have never used them but I think iFrames would do what we want but no one wants to even talk about using iFrames at this point. We almost are wanting to build something that acts like a portal and the iSeries apps would just be portlets/webparts. Has anyone done anything like this?



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.