|
Continuing on that theme, if you want to include the results of a CGI call, then you would replace the #include statements with #exec statements. The syntax for the #exec is as follows: <!--#exec cgi="/cgi-bin/specials" --> Note there is no space between the initial <!-- and "cgi=". Also note that there is exactly one space following the CGI program name's closing quote, and before the closing --> characters. Now, without thinking about it, I'd say you may end up having create something like Frame1.html and in that HTML include you #exec SSI statement. Then do a <FRAME src="frame1.html" NAME="MAINFRAME"> in the original file. There might be a way around doing that, but I'm a bit tired as you can tell from my typos. :) Bob Cozzi iSeries Web Development Seminar June 24, 2002 - Chicagoland http://www.rpgiv.com/seminars > -----Original Message----- > From: web400-admin@midrange.com > [mailto:web400-admin@midrange.com] On Behalf Of Bob Cozzi > Sent: Tuesday, May 28, 2002 7:22 PM > To: web400@midrange.com > Subject: RE: [WEB400] CGI Frameset > > > Looks good to me. > I notices in the frame set, though, you had the "src=" > attribute set to the CGI program. I think that's a no-no. > Only image files can be "/copy'd" in that manner. Otherwise > you have to use the SSI (server-side include) capabilities. > > <FRAMESET COLS="30%,*"> > <FRAME SRC="toc.html" NAME=toc> > <FRAME SRC="a.html" NAME=content> > <NOFRAMES> > <!--#include-file "a.txt"--> > <!--#include-file "toc.txt--> > </NOFRAMES> > </FRAMESET> > > > Note the #include statements. These are SSI (server-side > includes) that are including the other HTML source files; > merging them on the host server before sending them to the browser. > > Bob Cozzi > > > > -----Original Message----- > > From: web400-admin@midrange.com > [mailto:web400-admin@midrange.com] On > > Behalf Of Justin & Michelle Houchin > > Sent: Tuesday, May 28, 2002 7:03 PM > > To: web400@midrange.com > > Subject: Re: [WEB400] CGI Frameset > > > > > > I want to include the results in the frame. You do not have to pass > > parameters to this CGI program, just call it, and it will > generate the > > web page in the page. > > > > I call the CGI program by http://68.59.64.83:99/cgi-bin/specials > > > > Thanks > > > > ----- Original Message ----- > > From: "Brad Stone" <brad@bvstools.com> > > To: <web400@midrange.com> > > Sent: Tuesday, May 28, 2002 4:44 PM > > Subject: Re: [WEB400] CGI Frameset > > > > > > > Justin, > > > > > > I don't quite get what you are trying to accomplish. Are > you trying > > > to include the results of a cgi program in a > > frame, or just > > > have a cgi run? Have you tried SSI? You'll need to post > > more source > > > than this so we can understand what you're trying to do. > > > > > > Brad > > > www.bvstools.com > > > > > > On Tue, 28 May 2002 15:03:47 -0500 > > > Justin Houchin <jhouchin9@charter.net> wrote: > > > > This is a multi-part message in MIME format. > > > > -- > > > > [ Picked text/plain from multipart/alternative ] > > > > Hi Everyone, > > > > When my Welcome page first loads, it loads a frameset of 4 > > > > frames. I am having trouble getting the "main frameset" > > to execute a > > > > CGI program, here is my HTML: > > > > > > > > <frameset rows="97,*" cols="144,*" frameborder="NO" border="0" > > > > framespacing="0"> > > > > <frame name="cornerFrame" scrolling="NO" noresize > > > > src="WelcomeFrameset5.htm" > > > > > <frame name="topFrame" scrolling="NO" noresize > > > > src="Welcome%20Frameset4.htm" > > > > > <frame name="leftFrame" scrolling="NO" noresize > > > > src="WelcomeFrameset3.htm"> > > > > -------> <frame name="mainFrame" > > > > src="Welcome%20Frameset2.htm"> > > > > </frameset> > > > > > > > > On the line with the arrow next to it...I have tried > > > > src="/cgi-bin/specials"> > > > > > > > > > > > > Thanks, > > > > > > > > Justin Houchin > > > > Programmer > > > > Reliatek, Inc > > > > jhouchin9@charter.net > > > > > > > > > > > > > > > > _______________________________________________ > > > > This is the Web Enabling the AS400 / iSeries (WEB400) > mailing list > > > > To post a message email: WEB400@midrange.com To subscribe, > > > > unsubscribe, or change list options, > > > > visit: http://lists.midrange.com/cgi-bin/listinfo/web400 > > > > or email: WEB400-request@midrange.com > > > > Before posting, please take a moment to review the archives > > > > at http://archive.midrange.com/web400. > > > > > > > > > > Bradley V. Stone > > > BVS.Tools > > > www.bvstools.com _______________________________________________ > > > This is the Web Enabling the AS400 / iSeries (WEB400) mailing list > > > To post a message email: WEB400@midrange.com > > > To subscribe, unsubscribe, or change list options, > > > visit: http://lists.midrange.com/cgi-bin/listinfo/web400 > > > or email: WEB400-request@midrange.com > > > Before posting, please take a moment to review the archives > > > at http://archive.midrange.com/web400. > > > > > > > > > > > > _______________________________________________ > > This is the Web Enabling the AS400 / iSeries (WEB400) mailing list > > To post a message email: WEB400@midrange.com > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/cgi-bin/listinfo/web400 > > or email: WEB400-request@midrange.com > > Before posting, please take a moment to review the archives > > at http://archive.midrange.com/web400. > > > > > > _______________________________________________ > This is the Web Enabling the AS400 / iSeries (WEB400) mailing list > To post a message email: WEB400@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/web400 > or email: WEB400-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/web400. > >
As an Amazon Associate we earn from qualifying purchases.
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.