I have one JSP file as jsp 1.jsp and another JSP file as jsp 2.jsp
I\'ve included jsp 2.jsp in jsp 1.jsp>
If the reason for including your jsp 2 in jsp 1 is for sending variable, then its not needed. you just need to set a hidden variable in jsp 1, and in your jsp 2 you should able to access it, by using the jsp implicit request object.
jsp 2
jsp 1
not needed
hidden
jsp implicit request