用个form表单post到相应的servlet中,然后在servlet的doPost()中就陆樱可物森以获取了:String s= request.getParameter("早蚂丛sex"); int sex=Integer.parseInt(s);
post过去然后用 request.getParameter(String name)