Rob Hills wrote:

>><!--#include file="left_nav.shtml"-->
> 
> Ah, this could be a problem.  From the "Directives" section near the 
> bottom of the Tomcat Docs page on SSI, I believe you should be using 
> "virtual" instead of "file" here, ie:
> 
> <!--#include virtual="left_nav.shtml"-->
> 
>><!--#ECHO VAR="DATE_LOCAL" -->
> 
> Also, not sure here, but it wouldn't surprise me if the directives were 
> case sensitive - this might work if it were:
> 
>><!--#echo var="DATE_LOCAL" -->

No to both. I thought I'd had SSI enabled on my 5.5.9 dev machine,
but it must have been an earlier setup. So just now I

1) uncommented the servlet and servlet-mapping entries for SSI in
   $CATALINA_HOME/conf/web.xml
2) checked for $CATALINA_HOME/server/lib/servlets-ssi.jar
3) restarted Tomcat

SSI enabled. Both `file` and `virtual` work as expected, and the
example ECHO works in upper or lower case.

Not sure how it could be simpler. If it's not working for you, I'd
say you need to take the advice about turning up the logging. :-)

FWIW!
-- 
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                          dream.  code.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to