Forums Register Login
why jsp:invoke not allowed in JSP pages

I wonder why <jsp:invoke> and <jsp oBody> is only permitted in JSP fragments.

I donot see why they cannot work in JSP pages, other than the JSP spec disallows it. As far as I can see, a JSP fragment uses JSP syntax.

As <jsp:invoke> is used to evaluate fragments that are passed to a tag file as an attribute, and no such concept even exists for JSP pages, I don't see what possible role you can see for <jsp:invoke> outside of a tag file.

If you want to include a fragment in a JSP page, that's what <jsp:include> is for.
yeah, but ... what would PIE do? Especially concerning this tiny ad:
Why should you try IntelliJ IDEA ?

This thread has been viewed 729 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 15, 2018 07:44:18.