doubt in JSP:Include

Posted by raja on Stack Overflow See other posts from Stack Overflow or by raja
Published on 2010-03-22T15:51:33Z Indexed on 2010/03/22 16:01 UTC
Read the original article Hit count: 533

Filed under:

Hi All:
I have added a code which will include child jsp using jsp:include. The problem i am facing is that the code present in child code is not executing. Below is the code iam using it now

JSPF File:

       <jsp:include page="X.jsp" flush="true">
   </jsp:include>

the above code is present in a file named "A.jspf" which is included in another jsp file named "Parent.jsp".

X.jsp:

      <%@ page import="java.util.*" %>
      <%
         System.out.println("********Child JSP");
       %>

Whenever i execute the parent file "Parent.jsp", all the other contents given in Parent.jsp and A.jspf is displaying except the content present in X.jsp. No error is displaying. Both X.jsp and A.jspf are present in same folder only. Please help me to resolve this issue. Thanks in advance.

© Stack Overflow or respective owner

Related posts about jsp