Reputation: 1849
In a lot of JSP/Servlet app examples that I saw, when the app includes a resource in a JSP through the directive or action include, then the file included had an .inc
extension. Why is that? Why we do not use a .jsp
extension instead?
Upvotes: 2
Views: 776
Reputation: 81724
.inc
is short for include. A jsp
extension would imply that the file was a complete page; using an inc
extension makes it clear that the file isn't intended to stand alone.
Upvotes: 6