Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

server side includes  RSS feed

 
gino jersey
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an html file with a server side include:

in a.html there is:
<!--#include file="/portal/includes/subsite_header.txt" -->
....
....
<!--#include file="/portal/includes/subsite_footer.txt" -->


===> I try to bring this up in the browser to no avail.

If I use a JSP page and have:
<%@ include file="/portal/includes/subsite_header.txt" %>
...
...
<%@ include file="/portal/includes/subsite_footer.txt" %>

===> that works.


What could be missing that the include using just html won't work?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using a server that supports SSI?
Do you have it enabled and configured?
 
gino jersey
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ben -

What files or settings can I check?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would start with the documentation for the container you're using.
Which is it?
 
gino jersey
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a Windows 2003 server.
Apache Tomcat
JDK 1.3 (or 1.4)
Tomcat 4.0 (or 4.1)
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Tomcat forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!