I have a jsp file in which i declared some variables.
In this jsp i included another jsp with include page include directive which references the variables decared in parent jsp.
The problem is that when when included jsp references the variables declared in parent jsp it is showing a reference error saying can not find the simbol.
for ex:
test.jsp
——–
String periodkey = request.getParameter( “periodkey” );
<%@ include file=”include.jsp” %>
—–
—-
—
include.jsp
————
productkey =———-
here my eclipse showing an error in include.jsp as
cannot find symbol: symbol : variable periodkey include.jsp