The former syntax is for SSI (
http://blogs.sun.com/swchan/entry/server_side_include_in_glassfish ).
The latter syntax is for JSP.
If you want to use SSI, then please enable SSI as described in the above
blog.
Thanks.
Shing Wai Chan
Huafeng Jin wrote:
> I encountered a problem. When I used <!-- #include file="..." --> in
> HTML page with glassfish server, it doesn't work (show nothing on the
> page). But for JSP (<%@ include file="..."%>) it works. Anyone has
> ideas on this? Thanks in advance!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>