velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claude Brisson <cla...@renegat.net>
Subject Re: SSI directives in html pages not being parsed
Date Tue, 26 Jun 2007 03:06:38 GMT
Hi

You can put the SSI directives section in an another file and use
#include to include it.

Or you can do something like :
#set($h = '#')
<!-- ${h}if expr ....


  Claude

Le lundi 25 juin 2007 à 15:11 -0400, Anusha Rao a écrit :
> Hi
>      I noticed that my Html page having SSI directives in it when used 
> with velocity throws an exception as follows
> The following is for the directive : <!--#if expr="$pageTitle" 
> --><title><!--#echo var="pageTitle" -->, School of 
> Business</title><!--#else --><title>Business</title><!--#endif
-->
> 
> com.openedit.OpenEditException: Encountered "expr" at line 8, column 40.
> Was expecting:
>     "(" ...
> 
> 
> Please assist
> 
> Anusha
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message