sending variable from one jsp to another jsp

前端 未结 5 638
伪装坚强ぢ
伪装坚强ぢ 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:43

    in jsp1 use this way to pass value.

    in jsp2 to get value

    String value=request.getParameter("hidden");
    

提交回复
热议问题