单选框:<input type="radio" name="" value="">
正常文本:<input type="text" name="">
复选框:<select name="">
<option value=""> </option>
<option value=""> </option>
<option value=""> </option>
<option value=""> </option>
</select>
多选框:<input type="checkbox" name="" value=""> <input type="checkbox" name="" value=""> <input type="checkbox" name="" value="">
多行文本<textarea name=" " rows="3" cols="20"> </textarea>
表单提交/超链接
<form action="" method="">
</form>
<input type="button" onclick="window.location.href =' .jsp'" value=" "/>//按钮实现界面跳转
<jsp:forward page=" .jsp"></jsp:forward> //实现页面跳转
<a href =" .jsp?xingming=<%=(xingming)%>"><%=(xingming) %>//超链接实现页面跳转 后可附带本页面参数
客户端交互
0. <jsp:useBean id="D" class="peo.Data" scope="page"/> class=包+类
1.String a=request.getParameter();//接收客户端传递过来的参数
2.session.setAttribute("a",a);
String a=(String)session.getAttribute("a");//接收session里的参数
3.response.getWriter().append("a");//返回一个页面a信息