⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showexam.jsp

📁 本系统是用NetBeans IDE 6.1所写
💻 JSP
字号:
<%@page contentType="text/html" pageEncoding="UTF-8"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"   "http://www.w3.org/TR/html4/loose.dtd">   <%@ page import="com.online.service.*" %><%@ page import="com.online.pojo.*" %><%@ page import="com.online.actions.*" %><%@ page import="com.online.dao.*" %><%@ page import="java.util.*" %><%          List items = (List) session.getAttribute("tm");%><html>    <head>        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">        <title>JSP Page</title>    </head>        <body>        <h2>Welcome to your Exam</h2>              <form action='exam.do' method='POST'>    <%                Iterator it =items.iterator();                while(it.hasNext()) {                    Item item = (Item) it.next();    %>                <table>                <tr><td><%= item.getQID()%>.</td></tr>                <tr><td><%= item.getQuestion()%></td></tr>                <tr><td><input type=checkbox name="<%=item.getQID()%>" value="A" ><%= item.getOption_a() %></td></tr>                <tr><td><input type=checkbox name="<%=item.getQID()%>" value="B" ><%= item.getOption_b() %></td></tr>                <tr><td><input type=checkbox name="<%=item.getQID()%>" value="C" ><%= item.getOption_c() %></td></tr>                <tr><td><input type=checkbox name="<%=item.getQID()%>" value="D" ><%= item.getOption_d() %></td></tr>            </table>            <%               }            %>               <input type='Submit' value='提交' />    </form>    </body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -