例 3-16
代码
<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%> <html> <head> <base href="<%=basePath%>"> <title>简单的网上试题自动评测————试题</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> <!-- <link rel="stylesheet" type="text/css" href="styles.css"> --> </head> <body> <form action="ch03_17_show.jsp" method="post"> 一、 2+3=?<br> <input type="radio" name="r1" value="2" checked="checked">2 <input type="radio" name="r1" value="3" >3 <input type="radio" name="r1" value="4" >4 <input type="radio" name="r1" value="5" >5<br> 二、下列哪些是偶数?<br> <input type="radio" name="c1" value="2">2 <input type="radio" name="c1" value="3">3 <input type="radio" name="c1" value="4">4 <input type="radio" name="c1" value="5">5<br> 三、下列哪些是动态网页?<br> <select size="4" name="list1" multiple="multiple"> <option value="asp">ASP</option> <option value="php">PHP</option> <option value="htm">HTML</option> <option value="jsp">JSP</option> <option value="xyz"selected="select">xyz</option> </select><br> 四、下列组件哪个是服务器端的?<br> <select size="1" name="list5"> <option value="jsp">JSP</option> <option value="servlet">SERVLET</option> <option value="java">JAVA</option> <option value="jdbc">JDBC</option> </select><br> 五、在服务器端用来接受用户请求的对象是:<br> <input type="text" name="text1"><br> <div align="left"> <blockquote> <input type="submit" value="提交" name="button1"> <input type="reset" value="取消" name="button2"> </blockquote> </div> </form> </body> </html>