sending variable from one jsp to another jsp

前端 未结 5 671
伪装坚强ぢ
伪装坚强ぢ 2020-11-28 13:01

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

5条回答
  •  情话喂你
    2020-11-28 13:52

    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.

提交回复
热议问题