比如说你在first.jsp中有一个下拉框select,你想在第二个second.jsp中取出值,你可以用request.getParameter("select")

解决方案 »

  1.   

    1.先要写个简单的javascript,我想这个不是很难吧
    2.可以通过你当前页面的action来传值, 通过actionFormBean来封装页面数据。例如:
      indexActionFormBean indexafb=(indexActionFormBean )actionForm
       indexafb.setXXX(....);
       .....
      

  2.   

    我的意思不是这样的,可能我的描述不好,我想通过这个
    <html:link page="/*.do"?>来传值啊。我做的是个数据库的,先是把数据库中的数据全部显示出来,在点相应的错作,(比如,我选中一行,在另一个页面中修改这行的数据).
      

  3.   

    这个我们已经做了很多,在<table>中,<tr onclick='if (selectid.value!='')document.all(seltedid.value).style.color='取消的颜色';selectid.value=<%=rs("id")%>;this.color="blue";'>.....
    <input type="hidden" name=selectid value=''>
    .....在另一个网页中使用:request.getParameter("selectid"),对选中的Id号进行记录的修改定位就行了。
      

  4.   

    session..是最好的。。传值有好多方法。。
    1)
    <a href="xxx.jsp?id="jsdkfj">ddd</a>
    request.getParameter("jsdkfj");
    2)
    <input type="hidden" name="dd" value="aksjf">
    request.getParameter("dd");
    等等