?? about_jsp.java
字號:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import com.bwm.db.Condb;
import java.sql.*;
import java.sql.*;
import com.bwm.db.Condb;
import java.sql.*;
import java.sql.*;
public final class about_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
static {
_jspx_dependants = new java.util.Vector(4);
_jspx_dependants.add("/user/top.jsp");
_jspx_dependants.add("/user/left.jsp");
_jspx_dependants.add("/user/search.jsp");
_jspx_dependants.add("/user/foot.jsp");
}
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("<title>首頁</title>\r\n");
out.write("<link href=\"css/style.css\" rel=\"stylesheet\">\r\n");
out.write("</head>\r\n");
out.write("<script language=\"javascript\">\r\n");
out.write("<!--\r\n");
out.write("\tfunction check(){\r\n");
out.write("\t\tif(form3.shop.value==\"\"){\r\n");
out.write("\t\t\talert(\"請輸入搜索的商品名稱\");\r\n");
out.write("\t\t\treturn false;\r\n");
out.write("\t\t\tform2.shop.focus();\r\n");
out.write("\t\t\thistory.back();\r\n");
out.write("\t\t}\r\n");
out.write("\t}\r\n");
out.write("--></script>\r\n");
out.write("<script src=\"js/DateTime2.js\" language=\"javascript\">\r\n");
out.write("</script>\r\n");
out.write("\r\n");
out.write("<body>\r\n");
out.write("\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("<style type=\"text/css\">\r\n");
out.write("<!--\r\n");
out.write(".bg {\r\n");
out.write("\tbackground-repeat: repeat-x;\r\n");
out.write("}\r\n");
out.write(".STYLE11 {\r\n");
out.write("\tcolor: #D1BE39;\r\n");
out.write("\tfont-size: 12px;\r\n");
out.write("\tfont-weight: bold;\r\n");
out.write("}\r\n");
out.write(".STYLE4 {\r\n");
out.write("\tcolor:#FFFFFF;\r\n");
out.write("\tfont-size:14px;\r\n");
out.write("\tfont-weight: bold;\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("-->\r\n");
out.write("</style>\r\n");
out.write("\r\n");
out.write("<table width=\"800\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr >\r\n");
out.write(" <td width=\"286\"><img name=\"topmenu_01\" src=\"image/topmenu_01.jpg\" width=\"286\" height=\"116\" border=\"0\" alt=\"\"></td>\r\n");
out.write(" <td width=\"514\"><table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"514\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td><table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"514\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td><img name=\"topmenu_02\" src=\"image/topmenu_02.gif\" width=\"247\" height=\"36\" border=\"0\" alt=\"\"></td>\r\n");
out.write(" <td><table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"267\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"267\" height=\"25\" align=\"center\" background=\"image/topmenu_03.gif\"><table width=\"98%\" border=\"0\" align=\"right\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td align=\"center\"><a href=\"index.jsp\">站點首頁</a> | <a target=_top href=\"javascript:window.external.AddFavorite('http://219.228.231.114:/shopfz','網上服裝店')\">收藏本站</a> | <a style=cursor:hand onclick=this.style.behavior='url(#default#homepage)';this.setHomePage('http://219.228.231.114:/shopfz')>設為首頁</a> | <A name=\"StranLink\">繁體中文版</A>\r\n");
out.write(" <SCRIPT language=JavaScript type=text/JavaScript src='Std_StranJF.Js'></SCRIPT>\r\n");
out.write(" <a href=\"help.asp?action=process\"></a></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><img name=\"topmenu_04\" src=\"image/topmenu_04.gif\" width=\"267\" height=\"11\" border=\"0\" alt=\"\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></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><table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"514\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"99\" height=\"45\" align=\"center\" background=\"image/topmenu_08.jpg\"><a href=\"about.jsp\" class=\"STYLE4\">關于我們</a></td>\r\n");
out.write(" <td width=\"99\" height=\"45\" align=\"center\" background=\"image/topmenu_08.jpg\"><a href=\"order.jsp\" class=\"STYLE4\">購物車</a></td>\r\n");
out.write(" <td width=\"107\" height=\"45\" align=\"center\" background=\"image/topmenu_08.jpg\"><a href=\"input.jsp\" class=\"STYLE4\">訂單查詢</a></td>\r\n");
out.write(" <td width=\"107\" height=\"45\" align=\"center\" background=\"image/topmenu_08.jpg\"><a href=\"uedit.jsp\" class=\"STYLE4\">用戶中心</a></td>\r\n");
out.write(" <td width=\"101\" height=\"45\" align=\"center\" background=\"image/topmenu_08.jpg\"><a href=\"user/browse.jsp\" class=\"STYLE4\">留言反饋</a></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 width=\"514\" height=\"24\" background=\"image/topmenu_11.gif\"><table width=\"514\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"514\"><marquee onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\" scrollAmount=\"3\">\r\n");
out.write("\t\t\t\t\t<span class=\"STYLE11\">歡迎進入網上服裝店</span>\r\n");
out.write(" </marquee></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><img name=\"topmenu_12\" src=\"image/topmenu_12.gif\" width=\"514\" height=\"11\" border=\"0\" alt=\"\"></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("\r\n");
out.write("<table width=\"800\" height=\"431\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FCBE3F\" bordercolordark=\"#FCBE3F\" bordercolorlight=\"#FFFFFF\"> \r\n");
out.write(" <tr> \r\n");
out.write(" <td width=\"174\" height=\"429\" valign=\"top\" background=\"\">");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("<title>無標題文檔</title>\r\n");
out.write("<style type=\"text/css\">\r\n");
out.write("<!--\r\n");
out.write("body {\r\n");
out.write("\tmargin-right: 0px;\r\n");
out.write("\tmargin-bottom: 0px;\r\n");
out.write("}\r\n");
out.write("-->\r\n");
out.write("</style></head>\r\n");
out.write("</script>\r\n");
out.write("<link href=\"css/style.css\" rel=\"stylesheet\">\r\n");
out.write("<script language=\"javascript\">\r\n");
out.write("<!--\r\n");
out.write("\tfunction check1(){\r\n");
out.write("\t\tif(form1.ware.value==\"\"){\r\n");
out.write("\t\t\talert(\"請輸入搜索的商品名稱\");\r\n");
out.write("\t\t\tform1.ware.focus();\r\n");
out.write("\t\t\treturn false;\r\n");
out.write("\t\t\thistory.back();\r\n");
out.write("\t\t}\r\n");
out.write("\t}\r\n");
out.write("-->\r\n");
out.write("</script>\r\n");
out.write("<script language=\"javascript\">\r\n");
out.write("<!--\r\n");
out.write("\tfunction checked1(){\r\n");
out.write("\t\tif(form2.username.value==\"\"){\r\n");
out.write("\t\t\talert(\"請輸入你的的用戶名\");\r\n");
out.write("\t\t\tform2.username.focus();\r\n");
out.write("\t\t\treturn false;\r\n");
out.write("\t\t\thistory.back();\r\n");
out.write("\t\t}\r\n");
out.write("\t\tif(form2.password.value==\"\"){\r\n");
out.write("\t\t\talert(\"請輸入你的密碼\");\r\n");
out.write("\t\t\tform2.password.focus();\r\n");
out.write("\t\t\treturn false;\r\n");
out.write("\t\t\thistory.back();\r\n");
out.write("\t\t}\r\n");
out.write("\t}\r\n");
out.write("-->\r\n");
out.write("</script>\r\n");
out.write("\r\n");
out.write("<table width=\"172\" height=\"187\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"172\" valign=\"top\">\r\n");
out.write("\t\r\n");
out.write("\t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"171\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"55\" valign=\"bottom\"><img name=\"productleft_01\" src=\"image/left2_01.gif\" width=\"171\" height=\"45\" border=\"0\" alt=\"\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td><table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"171\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"14\" background=\"image/productleft_02.gif\"> </td>\r\n");
out.write(" <td width=\"152\">\r\n");
out.write("\t\t\t\t");
Condb con=new Condb();
//String str=session.getAttribute(username);
if(session.getAttribute("username")==null){
out.write("\r\n");
out.write("\t\t\t\t<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFCC00\" background=\"\">\r\n");
out.write(" \r\n");
out.write(" <form action=\"user/ucon.jsp\" name=\"form2\" method=\"post\">\r\n");
out.write(" <tr> \r\n");
out.write(" <td width=\"46\" height=\"24\" align=\"left\" valign=\"middle\"> 用戶:</td>\r\n");
out.write(" <td width=\"106\"><input name=\"username\" type=\"text\" class=\"wenbenkuang\" size=\"12\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td height=\"24\" align=\"left\"> 密碼:</td>\r\n");
out.write(" <td><input name=\"password\" type=\"password\" class=\"wenbenkuang\" size=\"12\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr align=\"center\">\r\n");
out.write(" <td height=\"24\" colspan=\"2\">\r\n");
out.write("\t\t <input name=\"login\" type=\"submit\" class=\"btn_grey\" value=\"登錄\" onClick=\"return checked1()\">\r\n");
out.write(" <input name=\"login\" type=\"submit\" class=\"btn_grey\" value=\"注冊\">\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" </form>\r\n");
out.write(" <tr align=\"center\">\r\n");
out.write(" <td height=\"32\" colspan=\"2\"><a href=\"user/pass.jsp\" >從這里找回密碼</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("\t\t\t\t\r\n");
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -