GlassFish v2 is adding support for Server-Side Includes. The directives are supported are based on the Apache httpd Server directives.
Check JeanFrancois blog for some more details.
FB Twitter
Send feedback and leads to theaquarium@sun.com