JBoss Community

Re: Using SSI (server-side includes) in JBoss AS 7.1 ( Thunder )

created by mel per in JBoss AS 7 Development - View the full discussion

also your code needs to be somewhat like this.  this file should be .shtml and not .html

 

and the reason why it is not interpreted by the ssi servlet.

 

<!-- the modified code is -->

 

<!DOCTYPE html>
<html lang="de">
<head>
          <meta charset="UTF-8">
          <title>Using SSI</title>
</head>

 

<body>

          <!-- this becomes header.html and not header.shtml -->

          <!--#include virtual="header.html" -->
          <!--#echo var="DATE_LOCAL" -->
          test page.
</body>

 

</html>

 

 



Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community