users@glassfish.java.net

Re: Configuring Glassfish to serve SHTML and SSI

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 30 Apr 2008 13:39:23 -0400

Salut,

glassfish_at_javadesktop.org wrote:
> Thanks, I've already added that to the web.xml file, but it didn't work.
>
> I don't think it fixes the shtml issue, plus, I think I'm missing the class or servlet it's referring to.

Any deployment exception? Have you added it in default-web.xml or
web.xml? If the former, you must redeploy your application to make it work.


Is there some sort of ssi servlet or class I need to active/point
to/install?

Just:

> <servlet>
> <servlet-name>ssi</servlet-name>
> <servlet-class>
> org.apache.catalina.ssi.SSIServlet
> </servlet-class>
> <init-param>
> <param-name>buffered</param-name>
> <param-value>1</param-value>
> </init-param>
> <init-param>
> <param-name>debug</param-name>
> <param-value>0</param-value>
> </init-param>
> <init-param>
> <param-name>expires</param-name>
> <param-value>666</param-value>
> </init-param>
> <init-param>
> <param-name>isVirtualWebappRelative</param-name>
> <param-value>0</param-value>
> </init-param>
> <load-on-startup>4</load-on-startup>
> </servlet>

Should make it work.

A+

-- Jeanfrancois




>
> Sorry about being so niave. I'm new to both server configuration and the netbeans ide.
>
> Cheers,
> Dylan
> [Message sent by forum member 'stinking_dylan' (stinking_dylan)]
>
> http://forums.java.net/jive/thread.jspa?messageID=272270
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>