表单中的一项 JS获取 var v = document.getElementById("myid");
给你写个例子<%
//获取index.jsp传来的值
double sg = Double.parseDouble(request.getParameter("sg"));
double tz = Double.parseDouble(request.getParameter("tz"));
int sex = Integer.parseInt(request.getParameter("sex"));%>
用两个页面就行了!