[jboss-dev-forums] [JBoss AS 7 Development] - Re: Using SSI (server-side includes) in JBoss AS 7.1 ( Thunder )

mel per do-not-reply at jboss.com
Fri Jul 13 09:00:31 EDT 2012


mel per [https://community.jboss.org/people/emollient-mind] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/748018#748018

--------------------------------------------------------------
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
[https://community.jboss.org/message/748018#748018]

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/20120713/05e8c594/attachment.html 


More information about the jboss-dev-forums mailing list