📄 sell_005fresult_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import com.domain.GoodsForm;
public final class sell_005fresult_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
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,
null, 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\r\n");
com.dao.GoodsDao goods = null;
synchronized (_jspx_page_context) {
goods = (com.dao.GoodsDao) _jspx_page_context.getAttribute("goods", PageContext.PAGE_SCOPE);
if (goods == null){
goods = new com.dao.GoodsDao();
_jspx_page_context.setAttribute("goods", goods, PageContext.PAGE_SCOPE);
}
}
out.write('\r');
out.write('\n');
GoodsForm form=goods.selectOneGoods(Integer.valueOf(request.getParameter("id")));
out.write("\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<title>电子商城</title>\r\n</head>\r\n <link href=\"css/css.css\" rel=\"stylesheet\" type=\"text/css\">\r\n<body>\r\n<table width=\"755\" height=\"150%\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td height=\"119\"><div align=\"center\">\r\n ");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "topOne.jsp", out, false);
out.write("</div> </td>\r\n </tr>\r\n <tr>\r\n <td height=\"50\" align=\"center\" valign=\"middle\">");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "topTwo.jsp", out, false);
out.write("</td>\r\n\r\n </tr>\r\n <tr>\r\n <td height=\"847\"><table width=\"100%\" height=\"100%\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td width=\"25%\" height=\"638\" rowspan=\"2\" valign=\"top\">\r\n\r\n\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "left.jsp", out, false);
out.write("\r\n\r\n\r\n\t\t</td>\r\n <td width=\"75%\" height=\"35\" align=\"center\" valign=\"middle\">第");
out.print(request.getParameter("account"));
out.write("名</td>\r\n\r\n </tr>\r\n <tr>\r\n <td valign=\"top\" height=\"613\">\r\n\r\n\t\t<br><br><br>\r\n\t\t<table width=\"99%\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" bordercolorlight=\"#FFFFFF\" bordercolordark=\"#819BBC\">\r\n <tr>\r\n <td width=\"36%\" rowspan=\"5\" height=\"120\"><div align=\"center\">\r\n <input name=\"pricture\" type=\"image\" src=\"");
out.print(form.getPicture());
out.write("\" width=\"140\" height=\"126\">\r\n </div></td>\r\n <td width=\"64%\" height=\"30\"><div align=\"center\">");
out.print(form.getName());
out.write("</div></td>\r\n </tr>\r\n\r\n <tr>\r\n <td height=\"30\"><div align=\"center\">\r\n ");
if(form.getMark().equals(new Integer(1))){
out.write("\r\n 特价:");
out.print(form.getFreePrice());
out.write("元\r\n ");
}else{
out.write("\r\n 现价:");
out.print(form.getNowPrice());
out.write("元\r\n ");
}
out.write("\r\n </div></td>\r\n </tr>\r\n <tr>\r\n <td height=\"30\"><div align=\"center\">");
out.print(form.getIntroduce());
out.write("</div></td>\r\n </tr>\r\n <tr align=\"center\">\r\n <td height=\"30\">\r\n ");
if(session.getAttribute("form")!=null||session.getAttribute("id")!=null){
out.write("\r\n <div align=\"center\"><a href=\"#\" onClick=\"window.open('goodsAction.do?action=16&id=");
out.print(form.getId());
out.write("','','width=500,height=200');\">查看详细内容</a>\r\n ");
}else{
out.write("\r\n 登录后才能购买 </div>\r\n ");
}
out.write("\r\n </td>\r\n </tr>\r\n </table>\r\n\r\n\r\n\r\n\r\n\r\n\t\t</td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n <tr>\r\n <td height=\"100\"><p align=\"center\"><a href=\"background/managerCheck.jsp\">电子商城客户服务热线:</a>0431-4978981,4978982 传真:0431-4972266<br>\r\n\tCopyRight © 2005 www.mingrisoft.com 吉林省明日科技有限公司<br>\r\n\t本站请使用IE6.0或以上版本 1024*768为最佳显示效果</p></td>\r\n </tr>\r\n</table>\r\n</body>\r\n</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -