如果是我,我会尝试一下用两个window.open来实现传值

解决方案 »

  1.   

    1. put the value in session, if the two JSPs in one session2. put the value in somewhere else, such as queue, file, the 2 JSPs just read it.
      

  2.   

    你可以写一个接口呀,然后在你的实现的java类里面可以动态的指定
    你可以去看看mvc的模式
      

  3.   

    PrintWriter out=response.getWriter();
    out.println("<script>window.open('url.jsp?value=1');window.open('url1.jsp?value=2');</script>");//用javascript,传多少个页面都可以