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

📄 main_jsp.java

📁 sql+struts+jsp 提供考试的一般需求
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
      out.write("                  <div align=\"center\"><img src=\"images/icon_n.gif\" width=\"11\" height=\"11\"></div>\r\n");
      out.write("              </div></td>\r\n");
      out.write("              <td height=\"24\" align=\"left\" bgcolor=\"#6699CC\"><span class=\"STYLE14\"><a href=\"#\">关于我们</a></span></td>\r\n");
      out.write("            </tr>\r\n");
      out.write("            <tr>\r\n");
      out.write("              <td height=\"6\" bgcolor=\"#6699CC\">&nbsp;</td>\r\n");
      out.write("              <td height=\"6\" align=\"left\" bgcolor=\"#6699CC\">&nbsp;</td>\r\n");
      out.write("            </tr>\r\n");
      out.write("            <tr bgcolor=\"#6699CC\">\r\n");
      out.write("              <td colspan=\"2\"><img src=\"images/tit2.gif\" width=\"169\" height=\"9\"></td>\r\n");
      out.write("            </tr>\r\n");
      out.write("            <tr bgcolor=\"#6699CC\">\r\n");
      out.write("              <td colspan=\"2\" bgcolor=\"#FFFFFF\">&nbsp;</td>\r\n");
      out.write("            </tr>\r\n");
      out.write("\r\n");
      out.write("          </table></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("\r\n");
      out.write("      </table>\r\n");
      out.write("      <table width=\"170\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td height=\"221\"><table width=\"100%\" height=\"245\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("            <tr>\r\n");
      out.write("              <td height=\"237\" valign=\"top\" bgcolor=\"F9F2EC\"><table width=\"95%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                  <tr>\r\n");
      out.write("                    <td height=\"3\"><hr width=\"100%\" size=\"3\" noshade color=\"#FFCCCC\"></td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("                  <tr>\r\n");
      out.write("                    <td><img src=\"images/right_tit3.gif\" width=\"105\" height=\"28\"></td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("                  <tr>\r\n");
      out.write("                    <td><img src=\"images/blank.gif\" width=\"1\" height=\"10\"></td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("                </table>\r\n");
      out.write("                  <table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("                    <tr>\r\n");
      out.write("                      <td width=\"61\"><img src=\"images/book01.jpg\" width=\"56\" height=\"67\"></td>\r\n");
      out.write("                      <td width=\"129\" class=\"lh120\"><font color=\"5D5D5D\">《struts开发教程》<br>\r\n");
      out.write("                            <strong><font color=\"FF8400\">8,820?</font></strong></font></td>\r\n");
      out.write("                    </tr>\r\n");
      out.write("                    <tr>\r\n");
      out.write("                      <td colspan=\"2\"><img src=\"images/blank.gif\" width=\"1\" height=\"15\"></td>\r\n");
      out.write("                    </tr>\r\n");
      out.write("                    <tr>\r\n");
      out.write("                      <td><img src=\"images/book02.jpg\" width=\"56\" height=\"67\"></td>\r\n");
      out.write("                      <td class=\"lh120\"><font color=\"5D5D5D\">《VC++程序员攻略》<br>\r\n");
      out.write("                            <br>\r\n");
      out.write("                            <strong><font color=\"FF8400\">8,550?</font></strong></font></td>\r\n");
      out.write("                    </tr>\r\n");
      out.write("                    <tr>\r\n");
      out.write("                      <td colspan=\"2\"><img src=\"images/blank.gif\" width=\"1\" height=\"15\"></td>\r\n");
      out.write("                    </tr>\r\n");
      out.write("                    <tr>\r\n");
      out.write("                      <td><img src=\"images/book03.jpg\" width=\"56\" height=\"67\"></td>\r\n");
      out.write("                      <td class=\"lh120\"><p><font color=\"5D5D5D\"><br>\r\n");
      out.write("                        《SQL SERVER2000开发</font><br>\r\n");
      out.write("                        <font color=\"5D5D5D\">教程》<br>\r\n");
      out.write("                          <strong><font color=\"FF8400\">67,500?</font></strong></font></p></td>\r\n");
      out.write("                    </tr>\r\n");
      out.write("                </table></td>\r\n");
      out.write("            </tr>\r\n");
      out.write("            <tr>\r\n");
      out.write("              <td height=\"3\"><hr width=\"100%\" size=\"3\" noshade color=\"#FFCCCC\"></td>\r\n");
      out.write("            </tr>\r\n");
      out.write("          </table></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("      <table width=\"170\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td><img src=\"images/blank.gif\" width=\"1\" height=\"9\"></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("\r\n");
      out.write("      <table width=\"170\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td>&nbsp;</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("    </td>\r\n");
      out.write("    <td width=\"5\"><img src=\"images/blank.gif\" width=\"5\" height=\"1\"></td>\r\n");
      out.write("    <td width=\"570\" valign=\"top\"><table width=\"775\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td width=\"570\" valign=\"top\">\r\n");
      out.write("            <table width=\"570\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("              <tr>\r\n");
      out.write("                <td width=\"485\" align=\"center\">                         </td>\r\n");
      out.write("              </tr>\r\n");
      out.write("              <tr>\r\n");
      out.write("                <td align=\"center\" valign=\"top\">\r\n");
      out.write("\t\t");
 session=request.getSession();
                   String sess=(String)session.getAttribute("stuno");
				    if(sess==null){
      out.write("\r\n");
      out.write("\t\t\t\t");
      if (_jspx_meth_html_005fform_005f1(_jspx_page_context))
        return;
      out.write("\t\t\t\t<label>\r\n");
      out.write("                ");
}else{
      out.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td align=\"center\">\r\n");
      out.write("欢迎您, ");
      out.print(sess);
      out.write(" !</td>\r\n");
      out.write("                </tr></table>\r\n");
}
      out.write("\r\n");
      out.write("                </label></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("\r\n");
      out.write("              <tr>\r\n");
      out.write("                <td align=\"center\"><img src=\"images/blank.gif\" width=\"1\" height=\"8\"><img src=\"images/news.jpg\" width=\"508\" height=\"259\"></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("            </table>\r\n");
      out.write("            <table width=\"570\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("              <tr>\r\n");
      out.write("                <td><img src=\"images/m_line1.gif\" width=\"570\" height=\"8\"></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("              <tr>\r\n");
      out.write("                <td background=\"images/m_line_bg.gif\"><table width=\"555\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                    <tr>\r\n");
      out.write("                      <td>\r\n");
      out.write("\r\n");
      out.write("                        <table width=\"555\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("                          <tr>\r\n");
      out.write("                            <td colspan=\"2\"><img src=\"images/m_tit.gif\" width=\"555\" height=\"33\"></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                          <tr>\r\n");
      out.write("                            <td width=\"182\"><img src=\"images/news00.jpg\" width=\"179\" height=\"162\"></td>\r\n");
      out.write("                            <td width=\"373\" valign=\"top\"><table width=\"365\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                                <tr>\r\n");
      out.write("                                  <td height=\"26\" align=\"center\"><span class=\"STYLE17\">2008年考试项目</span></td>\r\n");
      out.write("                                </tr>\r\n");
      out.write("                                <tr>\r\n");
      out.write("                                  <td background=\"images/dot2.gif\"><img src=\"images/dot2.gif\" width=\"3\" height=\"1\"></td>\r\n");
      out.write("                                </tr>\r\n");
      out.write("                                <tr>\r\n");
      out.write("                                  <td><span class=\"STYLE16\"><img src=\"images/dot2.gif\" width=\"3\" height=\"1\"><span class=\"STYLE22\"> <span class=\"STYLE23\"><STRONG>上半年(5):</STRONG>初级程序员;投资建设项目管理师;中级会计师;计算机技术与软件资格(上)。<BR>\r\n");
      out.write("                                        <STRONG> 下半年(8):</STRONG>SQL Server2000数据库管理员;photoshop中级考试;化工工程师;高级办公软件;全国英语四级;程序设计比赛;中级网页设计;软件测试员;网页三剑客。<BR>\r\n");
      out.write("                                        <STRONG> 待通知(3):</STRONG>JAVA程序员;ACCP认证考试;网络ATA;ORACLE数据库管理员;测绘师;网络管理员;操作系统。 <BR>\r\n");
      out.write("                                      <STRONG> 计算机应用能力考试</STRONG>(365天接受报名)</span></span></span></td>\r\n");
      out.write("                                </tr>\r\n");
      out.write("\r\n");
      out.write("                            </table></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                        </table>\r\n");
      out.write("                      </td>\r\n");
      out.write("                    </tr>\r\n");
      out.write("                    <tr>\r\n");
      out.write("                      <td><img src=\"images/blank.gif\" width=\"1\" height=\"9\"></td>\r\n");
      out.write("                    </tr>\r\n");
      out.write("\r\n");
      out.write("                    <tr>\r\n");
      out.write("                      <td>\r\n");
      out.write("\r\n");
      out.write("                        <table width=\"555\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("                          <tr>\r\n");
      out.write("                            <td colspan=\"2\"><img src=\"images/m_tit2.gif\" width=\"555\" height=\"33\"></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                          <tr>\r\n");
      out.write("                            <td colspan=\"2\"><img src=\"images/blank.gif\" width=\"1\" height=\"5\"></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                          <tr>\r\n");
      out.write("                            <td width=\"277\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("                                <tr>\r\n");
      out.write("                                  <td valign=\"top\"><table width=\"101%\" height=\"107\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                                      <tr>\r\n");
      out.write("                                        <td><img src=\"images/blank.gif\" width=\"1\" height=\"9\"> 欢迎登陆计数机学院考试网! 本栏向您显示今年全部考试项目。您,可以  快捷地在本网查看到学院颁布的考试及其《暂行规定》和考试安排、办事指南,可以快速地进入网上报名;可以跟踪您所  需要考项的上网报名时间、准考证下载打印时间、考试时间、考试成绩公布时间、资格证(合格证)书发放时间等信息,还可以查询考前指导(培训)、考试用书信息……。<br>\r\n");
      out.write(" </td>\r\n");
      out.write("                                      </tr>\r\n");
      out.write("\r\n");
      out.write("                                  </table></td>\r\n");
      out.write("                                </tr>\r\n");
      out.write("                              </table></td>\r\n");
      out.write("                            <td width=\"278\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("                                <tr>\r\n");
      out.write("                                  <td width=\"25\" height=\"118\" valign=\"top\">&nbsp;</td>\r\n");
      out.write("                                  <td width=\"253\" valign=\"middle\"><table width=\"100%\" height=\"94\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                                      <tr>\r\n");
      out.write("                                        <td height=\"25\"><span class=\"STYLE12\"> <span class=\"STYLE24\">【<span class=\"STYLE21\">考试章程】</span></span><span class=\"STYLE21\"><a href=\"#\">考场法规</a> <a href=\"examnet.html\">考试信息相关连接</a></span></span></td>\r\n");
      out.write("                                      </tr>\r\n");
      out.write("                                      <tr>\r\n");
      out.write("                                        <td height=\"25\" class=\"lh130 STYLE12\"><span class=\"STYLE25\">【管理信息】</span><span class=\"STYLE21\"><a href=\"#\">考试安排</a> <a href=\"#\">师生互动</a></span> </td>\r\n");
      out.write("                                      </tr>\r\n");

⌨️ 快捷键说明

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