By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,229 Members | 1,398 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,229 IT Pros & Developers. It's quick & easy.

How to, load txtfiles with htm-content using js

P: n/a
Hello,
we are looking for a way to load in an existing html-file different
txtfiles, which includes html-commands.

Example(Not a real server):
We want to load a layout.htm with an parameter like the following sample url
"http://www.server.com/Index.htm?content.txt"

After loading the index.htm a included html script should load the
content.txt file.
The html-code in index.htm additional with the html-code in the content.txt
file should give the whole html-code for the viewed page.

Tank you in advance
regards
heinz
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Wed, 18 Feb 2004 08:44:38 +0100, Bosch News <he**********@de.bosch.com>
wrote:
Hello,
we are looking for a way to load in an existing html-file different
txtfiles, which includes html-commands.

Example(Not a real server):
We want to load a layout.htm with an parameter like the following sample
url
"http://www.server.com/Index.htm?content.txt"

After loading the index.htm a included html script should load the
content.txt file.
The html-code in index.htm additional with the html-code in the
content.txt
file should give the whole html-code for the viewed page.

Tank you in advance
regards
heinz


Sounds like SSI to me. Your server must allow SSI but if it does this is
easy.
Jul 20 '05 #2

P: n/a
Hello Neal
thank you for your answer.
Are you meaning server side includes with ssi?

I think it is possible with asp-pages to realize the includes, but in this
case,
we are not able to use asp.

regards heinz

-snap-
Sounds like SSI to me. Your server must allow SSI but if it does this is
easy.


Jul 20 '05 #3

P: n/a
"Bosch News" <he**********@de.bosch.com> wrote:
Hello Neal
thank you for your answer.
Are you meaning server side includes with ssi?
SSI *means* "server-side includes".

I think it is possible with asp-pages to realize the includes, but in this
case,
we are not able to use asp.


Server-side includes are not part of ASP. They are provided by many
web servers, *including* Microsoft's IIS when it processes ASP pages.

By the way, notice the benefit of putting responses *after* the
previous poster's text. It lets me answer each part of your message in
the appropriate place, and you can read this whole message with my
responses following the passages that they address, so that the whole
thing can be understood. If I continued your practice of putting the
response before the previous message, I wouldn't be able to do this.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.