Is there any way to know in JSP,if jsp include files are missed. For example if a file include.jsp is not present and in my jsp if i have include code like this <jsp:include page="include.jsp" />. I can't see any error was thrown.
But if i try the same with <%@ include file="include.jsp" %>, my page is getting failed at compile time. I can understand this, because @include is compile time... So what about jsp:include ?
<jsp:include page ="something.jsp"> is simply including the thing at run time, you may assume that a separate request-thread is generated and the output of the page is included. so, at this time the container think like a content to be included so, not to throw an exception or error, because of this its attribute name is 'page'. when you using incude directive you are including a file.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com