tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffo1b>
Subject Problems with SSI
Date Wed, 08 Sep 2010 23:45:26 GMT

I've tried following all of the advice in the previous threads, but I'm up
against a wall here.

I have added <Context privileged="true> to my context.xml 
In the same directory, i have uncommented the SSI Filter as well as the
Filter mapping and the *.shtml mime mapping in web.xml.  see below:


Finally, i have a file called test.shtml that has the following code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
hi there
<!-- #include file="/inc.html" -->

The "inc.html" file is in the same directory as the test.html file.  when I
run the file, i simply see the "hi there" and none of the contents of the
inc.html file.  

1.  i don't have the invoker servlet un-commented.  is this required?
2.  i got totally lost on the reg -exp discussions.  i am not in the IT
world and it was simply beyond my skill set.

Anybody have an idea where I've gone wrong?

Much appreciated.


View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message