-
1. Re: Using SSI (server-side includes) in JBoss AS 7.1 ( Thunder )
emollient-mind Jul 13, 2012 9:12 AM (in response to chris81t)1 of 1 people found this helpful---> apart from the configuration you have added to the web.xml file
step 1 : add the contents to context.xml in the META-INF folder of your web app
<?xml version="1.0" encoding="UTF-8"?>
<context privileged="true"/>also rename your html file to xxx.shtml and not xxx.html
the reason why ssi servlet is not able to interpret the ssi request
and change <!--#include virtual="header.shtml" --> to <!--#include virtual="header.html" -->
step 2 : Here is the modified .shtml file
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Using SSI</title>
</head><body>
<!--#include virtual="header.html" -->
<!--#echo var="DATE_LOCAL" -->
test page.
</body></html>
hope this solves your issue.
-
2. Re: Using SSI (server-side includes) in JBoss AS 7.1 ( Thunder )
chris81t Jul 13, 2012 1:48 PM (in response to emollient-mind)Hey, thank's for your answer!