JSP “Gotcha”
I just ran into an interesting situation with some JSPs I’ve been working with.
I have a common page element that I’ve been using on all of my “request” pages. To simplify development and future modifications, I started using a jsp:include. Unfortunately when using jsp:include the custom tags that are in the included page do not get rendered. A way around this is to use < %@ include file="" %>.
From what I’ve read the alternate way is a little slower but it does allow for the tags to be rendered on the included page.