Link to home
Start Free TrialLog in
Avatar of bbanupama
bbanupama

asked on

CALLING HTML FILE FROM ASP

Is it possible to call a HTML File from ASP?
If u want to call an ASP from another ASP.not during onsubmit but on some other circumstance
Avatar of vendrig
vendrig

Can you please explain better what you're looking for.
In ASP it's possible to read all sorts of files, including HTML.
ASKER CERTIFIED SOLUTION
Avatar of rafistern
rafistern

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Or, use the Server Side Includes

<!-- #Include Virtual="/path/to/yourfile.htm" -->
Yes, but you might want to make it part of a conditional statement or actually redirect to it, not include it.
I am not saying you are wrong.. just another way of "including: HTML files.
No offence intended. Just poining out the reasons why I think my answer is better.
This is just an addition to rafistern's answer it's better to do a "response.clear" before attempting a "response.redirect" i.e. to be really safe.

Best Of Luck
MagicJ