ilyash
05-06-2003, 06:31 PM
i have an html document which i need to put a dynamic text into...
i have a file (jsp) (news.jsp)
is there sum kind of include statment in html?
<includE:"news.jsp">
or anything.. Thanks,
FW-Mike
05-06-2003, 07:09 PM
you can use shtml and SSI, is that supported on your server?
ilyash
05-06-2003, 07:26 PM
i dunno..
but i dont want to
is there any way to say like "show contents of another page here" ???
I suppose you could do an iframe... may not exactly be what you want to do, but it is basically the best thing you can do with just HTML.
kneuf
05-06-2003, 10:35 PM
or, i think you can do something with HTTPConfig (i think) and make it parse HTML files, although that's a really messy way of doing it. I havn't done it myself, so I wouldn't know what to tell you, just a thought.
P.S., it's messy because ALL .html files will be parsed, and therefore slow everything down. And I think it only works for PHP, I dunno.
skiingyac
05-06-2003, 10:45 PM
If its a jsp you're including, then SSI's probably won't do what you're looking for. There are a couple different ways of doing what you're looking for. Pm me some more details (how much content are you including, just on this one page, how often does the dynamic content change, etc.) and I'll let you know what I'd suggest.
Zlatan
05-07-2003, 03:27 PM
Yeah like everyone else said you can use SSI, but you have to make sure your server supports it, it's very basic and you insert the insert line and rename to shtml