用javascript的onchange事件
<select onchage="javascript:window.location.href='next.jsp?value='+this.value;">

解决方案 »

  1.   

    用javascript的onchange事件
    <select onchange="javascript:window.location.href='next.jsp?value='+this.value;">
      

  2.   

    本页还是另外一个页面。
    一般的先得到值:String s=request.getParameter("select的name");
    然后连接数据库进行查询:SELECT * FROM tablename WHERE columname LIKE '%"+s+"%'
      

  3.   

    假如你的select为:
    <form name=form1 method=post >
    <select name="select_name" class="text" style="width:355px">
          <option value="yyy" selected></option>
           ... ...
    </select>
    </form>
    那么你在连接或者按钮连接的地方这么写:
    form1.action="<%=request.getContextPath()%>/xxx.jsp?select_name="+form1.select_name.options[form1.select_name.selectedIndex].value;这样就传过去了