I created the view and it works well, but now I need to include another JSP inside the page.
Given that my views are installed in the WEB-INF / Views protected area (therefore, it is not available in my resource directory, where my imgs, css are located)
I tried using
<%@ include file="/views/shared/items/NewItem.jsp" %>
And he always gives me FileNotFound, taking into account that my NewItem.jsp is installed with my other views (i.e. it is NOT accessible via regular routes, but controlled by controllers), how can I include JSP files that are installed next to my view
If I take out the "include file", my view is displayed without problems.
I'm sure something is missing here?
Thanks in advance
source share