This week's giveaway is in the Java/Jakarta EE forum. We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line! See JSP fragments as partial JSP pages to render headers, footers and navigation bars.
These are static files. Is there any standard location for placing .jspf files?
I read somewhere that they should be placed inside WEB-INF directory. But, WEB-INF is private directory (can't be directly accessed by the client), and the jspf files are static pages. On second thought, I think its apt cause they are not ment to be dirctly accessed by the client.
The reason for putting them under WEB-INF is that they will not be interpreted as JSPs if accessed directly. The server will just serve up your source code, as is. This is true of any file without a ".jsp" extension.