Can I have both Include directive and include action tag in a page. How the final
servlet will be formed. How about the variables declared?
For ex:
in a.jsp
---------
int x=5;
<%@ include page="b.jsp" %>
<h4> value of x is </h4> <%= x %>
.....
<%jsp:include page="b.jsp" %>
<h4> value of x is </h4> <%= x %>
in b.jsp
-----------
int x=6;
....
<b> Hello</b>
....
what is the status of variable x when we we use include directive and include action tag is used. Where do we get error?