[jboss-dev-forums] [JBoss AS 7 Development] - Using SSI (server-side includes) in JBoss AS 7.1 ( Thunder )
chris81t
do-not-reply at jboss.com
Mon Feb 20 12:17:42 EST 2012
chris81t [https://community.jboss.org/people/chris81t] created the discussion
"Using SSI (server-side includes) in JBoss AS 7.1 ( Thunder )"
To view the discussion, visit: https://community.jboss.org/message/718067#718067
--------------------------------------------------------------
Hi folks!
I want to provide SSI ( server-side includes ) in the AS 7.1. I've got a war module in an EAR, which contains amongst other things *.html content like:
test page.
I have found to set following things into the web.xml to activate it:
<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>1</param-value>
</init-param>
<init-param>
<param-name>expires</param-name>
<param-value>60</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>
<servlet-mapping>
<servlet-name>SSI</servlet-name>
<url-pattern>*.shtml</url-pattern>
</servlet-mapping>
but nothing happen's. ( no debug output is given to the server console )
Neigher the #include nor the #echo are working. What's wrong or what I have forget to do? Can anybody help me?
Also I have found following link http://docs.jboss.org/jbossweb/7.0.x/ssi-howto.html http://docs.jboss.org/jbossweb/7.0.x/ssi-howto.html
....To use the SSI servlet, remove the XML comments from around the SSI servlet and servlet-mapping configuration in $CATALINA_BASE/conf/web.xml....
But where is it? I think the only configuration file is for me the ( using standalone ) standalone.xml in the configuration folder. There I have not found something like SSI.
Thanks a lot!!!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/718067#718067]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120220/0466774d/attachment.html
More information about the jboss-dev-forums
mailing list