This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line! See this thread for details.
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.
He was expelled for perverse baking experiments. This tiny ad is a model student: