Friday, March 13, 2009

How do I mix JSP and SSI #include (JSP)

Question :How do I mix JSP and SSI #include? (JSP)
Answer :If you're just including raw HTML, use the #include directive as usual
inside your .jsp file.

But it's a little trickier if you want the server to evaluate any JSP code
that's inside the included file. Ronel Sumibcay
(ronel@LIVESOFTWARE.COM) says: If your file contains jsp code
you will have to use
<%@ vinclude="" %>
The is used for including non-JSP files.

No comments: