users@glassfish.java.net

Re: SSI issue

From: Alan Treece <Aj.Treece_at_Sun.COM>
Date: Fri, 15 Jun 2007 17:01:31 -0500

As an example.. I have a index.html file that does an include as
follows:

<!--#include virtual="/handbook_pub/includes/ssh/breadcrumb.html" -->


The breadcrumb.html looks like this:

<!--#if expr="$QUERY_STRING_UNESCAPED = /wrapper\=false/" -->
    <!-- BREADCRUMB OMITTED -->
<!--#else -->
    <div class="breadcrumb">
    .... more html stuff ...
    </div>
<!--#endif -->

The include works perfectly... I get the errors processing the
breadcrumb.html file.


Thanks, ajTreece



On Jun 15, 2007, at 4:40 PM, Jeanfrancois Arcand wrote:

> Hi Alan,
>
> Alan Treece wrote:
>> Folks...
>> I'm trying to get Server Side Includes to work and for the most
>> part they are working. The issue is I get the following error and
>> I'm not sure why... Does anyone have a clue about these?
>> [#|2007-06-15T16:09:26.095-0500|INFO|sun-appserver-pe9.0|
>> javax.enterprise.system.container.web|
>> _ThreadID=15;_ThreadName=httpWorkerThread-80-1;|WebModule[/
>> handbook_pub] ServletContext.log():ssi: SSIProcessor.process --
>> processing command: if|#]
>> [#|2007-06-15T16:09:26.096-0500|INFO|sun-appserver-pe9.0|
>> javax.enterprise.system.container.web|
>> _ThreadID=15;_ThreadName=httpWorkerThread-80-1;|WebModule[/
>> handbook_pub] ServletContext.log():ssi: Unknown command: if|#]
>> [#|2007-06-15T16:09:26.097-0500|INFO|sun-appserver-pe9.0|
>> javax.enterprise.system.container.web|
>> _ThreadID=15;_ThreadName=httpWorkerThread-80-1;|WebModule[/
>> handbook_pub] ServletContext.log():ssi: SSIProcessor.process --
>> processing command: else|#]
>> [#|2007-06-15T16:09:26.098-0500|INFO|sun-appserver-pe9.0|
>> javax.enterprise.system.container.web|
>> _ThreadID=15;_ThreadName=httpWorkerThread-80-1;|WebModule[/
>> handbook_pub] ServletContext.log():ssi: Unknown command: else|#]
>> [#|2007-06-15T16:09:26.099-0500|INFO|sun-appserver-pe9.0|
>> javax.enterprise.system.container.web|
>> _ThreadID=15;_ThreadName=httpWorkerThread-80-1;|WebModule[/
>> handbook_pub] ServletContext.log():ssi: SSIProcessor.process --
>> processing command: endif|#]
>> [#|2007-06-15T16:09:26.100-0500|INFO|sun-appserver-pe9.0|
>> javax.enterprise.system.container.web|
>> _ThreadID=15;_ThreadName=httpWorkerThread-80-1;|WebModule[/
>> handbook_pub] ServletContext.log():ssi: Unknown command: endif|#]
>
> Hum..... I've no idea what's happening :-) What you html/ssi pages
> looks like? It seems the ssi is not processed properly, but I've no
> idea how come.
>
> Thanks
>
> -- Jeanfrancois
>
>
>
>
>> Thanks, ajTreece
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>