request.getParameter("你的option的name值")

解决方案 »

  1.   

    xiaoyao008(萧瑶) value我要保存代码的呀,是代码和名称的对应关系
      

  2.   

    显示中文:
    public String getStr(String str)   //转化为中文
       {
         try
     { String temp_p=str;
       byte[] temp_t=temp_p.getBytes("ISO8859-1");
       String temp=new String(temp_t);
       return temp;
     }
     catch(Exception e){}
     return "null";
       }
    getStr(request.getParameter("你的option的name值"))