you should look at this tutorial its quite clever
http://www.asp101.com/arti
Main Topics
Browse All TopicsI have some asp files that generate some differenet forms. Now I have created a .htm template. I wish to link all of these asp files to use the .html template so that I do not have to redo the code at the end of th asp file everytime i want to make changes to the template. Any help with this would be greatly appreciated. Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
you should look at this tutorial its quite clever
http://www.asp101.com/arti
What I always do in sich a situation is to identify what are the portions of an asp page that are data driven and what portions or sengments are static. I just highlight them and for the static part and put their code in the separate html files, that can also have the .asp extensions and then include the files in any other asp file utilizing this asp code by using the same method
<!--#include file="YourStaticFileName.h
or
<!--#include file="YourStaticFileName.a
or
<!--#include file="It_Can_Be_Dynamic_Fi
In the above example "It_Can_Be_Dynamic_File.as
means that the new file would be used in all pages without any change but still be dynamic to be simply included in all the pages with just one include line.
Also making a header.asp, footer.asp, menu.asp for the header, fotter and the menu for the site is what I always use and it works like a charm. I can provide my sample work for letting you know exactly what I mean.
Business Accounts
Answer for Membership
by: b0lsc0ttPosted on 2006-11-16 at 14:19:34ID: 17960743
cstallings,
It sounds like you need an include. You can use the line below to include a file in your ASP file.
<!--#include file="filename.htm" -->
It will insert the contents of filename.htm in to this ASP file right where you put the include line. The include line should not be in ASP tags. The include file should not be a full html page (i.e. include html, body, head, etc elements). It only contains the html for this block of the ASP page.
Let me know if you have any questions or need more information.
b0lsc0tt