how to make a frameset in web program?

Who can tell me how to make a frameset,
The frameset have two frame,each frame is a dynamic html.

in onaction:
<FRAMESET COLS="250,*" NORESIZE BORDER="0">
  <FRAME SRC="/scripts/project1.dll/left" NAME="Chapters">
  <FRAME SRC="/scripts/project2.dll/right" NAME="MainText">
</FRAMESET>

but how to do reponse.content?

LVL 1
adamyBI DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

geobulCommented:
Hi adamy,

I do not understand what exactly the problem is.

If you want to send frames page from a dll you need a page with a link on a previous page, for example:
  "http://domain/scripts/getframe.dll/show"

Than in getframe.dll in show action you can write:

{ show action }
procedure TDBModule.DBModuleWebActionItem1Action(Sender: TObject;
  Request: TWebRequest; Response: TWebResponse; var Handled: Boolean);
begin
  Response.Content := '<FRAMESET COLS="250,*" NORESIZE BORDER=0>'+#10 +
    '<FRAME SRC="/scripts/project1.dll/left" NAME="Chapters">'+#10+
    '<FRAME SRC="/scripts/project2.dll/right" NAME="MainText">'+#10+
  '</FRAMESET>'+#10;
  Handled := true;
end;

When this page is loaded in a browser, there will be two requests to the server, one for project1 with action 'left' and another for project2 with action 'right'. These projects must have corresponding actions to handle the requests and show the pages in frames.

Regards, Geo
0
RadlerCommented:
Spying...
0
geobulCommented:
Hi adamy,

What's going on?

Regards, Geo
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.