Skip to main content
Participant
July 29, 2009
Question

Asp to create html page

  • July 29, 2009
  • 2 replies
  • 633 views

I'm trying to create asp code that will allow me to create a physical html page that contains content from a form.  Part 2 of this will be to have the html page rewritten when the asp form gets updated.  The name of the page will be created from the form as well.

Does anyone have any advice on where to start or what is involved in writing this?

This topic has been closed for replies.

2 replies

Participating Frequently
July 29, 2009

Coder, check out the ASP file system object. It will let you dynamically create an html page. Here's a quick example:

http://www.4guysfromrolla.com/webtech/faq/Advanced/faq2.shtml

Coder761Author
Participant
July 29, 2009

Thank you,

That is the basics of what I was looking for, now I just need to figure out all the little details.

I'm sure i'll have some more questions later.

Participating Frequently
July 29, 2009

Not quite follwing you.  HTML pages are static and generally cannot be changed.  ASP pages with a extension of .asp can contain both static and dynamic content.  By dynamic, I mean data from a database.  That said you can enter data thru a asp page and have it refreshed itself when it is submitted,  This is done by calling itself during the submit process.