On 13 Nov 2008, at 16:49, gennady wrote:

Hi


Danke Andreas!
I changed from <%@ include> to <jsp:include> and it works now. I'm not sure why extra condition causes that crash, but that change fixed the inclusion.

That's because <[EMAIL PROTECTED] ...> is actually like a macro, which is expanded at compile-time. The included JSP is included /before/ the base JSP is converted to a Java class. The <jsp:include ...> tag OTOH, is expanded at run-time. (i.e. in the latter case, the included JSPs will not influence the size of the including Java class; in the first case, the resulting Java class will be bigger).


HTH!

Cheers

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to