📄 project3_0002ejsp_jsp.java
字号:
out.write("\">\r\n ");
// end
// begin [file="/project3.jsp";from=(106,11);to=(106,31)]
out.print(pd.getProduct_name());
// end
// HTML // begin [file="/project3.jsp";from=(106,33);to=(108,8)]
out.write("</a><br>\r\n <br>\r\n ");
// end
// begin [file="/project3.jsp";from=(108,10);to=(108,12)]
}}
// end
// HTML // begin [file="/project3.jsp";from=(108,14);to=(142,46)]
out.write("\r\n <br>\r\n\r\n <td width=\"1%\"> </td>\r\n <td width=\"4%\"> </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr align=\"right\">\r\n <td colspan=\"2\"><a href=\"#\" onClick=\"MM_openBrWindow('send_pop.shtml','','width=300,height=250')\"><br>\r\n <br>\r\n </a> </td>\r\n </tr>\r\n</table>\r\n<p> </p>\r\n <form name=\"form1\" method=\"POST\" action=\"search1.jsp\" onsubmit=\"return checknull()\">\r\n 关键字:\r\n <input type=\"text\" name=\"keys\">\r\n <select name=\"searchid\">\r\n <option selected value=0>所有</option>\r\n <option value=1>项目</option>\r\n <option value=2>厂商</option>\r\n <option value=3>产品</option>\r\n </select>\r\n <input type=\"submit\" name=\"submit\" value=\"搜索\">\r\n</form>\r\n<table width=\"774\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n<form method=\"post\" action=\"project3.jsp?pjid=");
// end
// begin [file="/project3.jsp";from=(142,49);to=(142,53)]
out.print(pjid);
// end
// HTML // begin [file="/project3.jsp";from=(142,55);to=(142,63)]
out.write("&typeid=");
// end
// begin [file="/project3.jsp";from=(142,66);to=(142,72)]
out.print(typeid);
// end
// HTML // begin [file="/project3.jsp";from=(142,74);to=(144,47)]
out.write("\">\r\n <tr align=\"center\" valign=\"top\">\r\n <td height=\"20\"><a href=\"project3.jsp?pjid=");
// end
// begin [file="/project3.jsp";from=(144,50);to=(144,54)]
out.print(pjid);
// end
// HTML // begin [file="/project3.jsp";from=(144,56);to=(144,64)]
out.write("&typeid=");
// end
// begin [file="/project3.jsp";from=(144,67);to=(144,73)]
out.print(typeid);
// end
// HTML // begin [file="/project3.jsp";from=(144,75);to=(145,0)]
out.write("&page1=1\">首 页</a>\r\n");
// end
// begin [file="/project3.jsp";from=(145,2);to=(145,15)]
if(page1>=2){
// end
// HTML // begin [file="/project3.jsp";from=(145,17);to=(146,27)]
out.write("\r\n<a href=\"project3.jsp?pjid=");
// end
// begin [file="/project3.jsp";from=(146,30);to=(146,34)]
out.print(pjid);
// end
// HTML // begin [file="/project3.jsp";from=(146,36);to=(146,44)]
out.write("&typeid=");
// end
// begin [file="/project3.jsp";from=(146,47);to=(146,53)]
out.print(typeid);
// end
// HTML // begin [file="/project3.jsp";from=(146,55);to=(146,62)]
out.write("&page1=");
// end
// begin [file="/project3.jsp";from=(146,65);to=(146,72)]
out.print(page1-1);
// end
// HTML // begin [file="/project3.jsp";from=(146,74);to=(147,5)]
out.write("\">上一页<img src=\"images/aleft.gif\" width=\"18\" height=\"16\" border=\"0\" align=\"absbottom\"></a>\r\n ");
// end
// begin [file="/project3.jsp";from=(147,7);to=(147,13)]
}else{
// end
// HTML // begin [file="/project3.jsp";from=(147,15);to=(148,5)]
out.write("上一页<img src=\"images/aleft.gif\" width=\"18\" height=\"16\" border=\"0\" align=\"absbottom\">\r\n ");
// end
// begin [file="/project3.jsp";from=(148,7);to=(148,8)]
}
// end
// HTML // begin [file="/project3.jsp";from=(148,10);to=(149,54)]
out.write("\r\n 第<input type=\"text\" name=\"page1\" size=\"2\" value=\"");
// end
// begin [file="/project3.jsp";from=(149,57);to=(149,62)]
out.print(page1);
// end
// HTML // begin [file="/project3.jsp";from=(149,64);to=(150,0)]
out.write("\" onkeydown=\"if(event.keyCode==13)this.form.submit()\">页 \r\n");
// end
// begin [file="/project3.jsp";from=(150,2);to=(150,28)]
if(page1<(count/pagemax)){
// end
// HTML // begin [file="/project3.jsp";from=(150,30);to=(152,27)]
out.write("\r\n<img src=\"images/aright.gif\" width=\"18\" height=\"16\" border=\"0\" align=\"absbottom\">\r\n<a href=\"project3.jsp?pjid=");
// end
// begin [file="/project3.jsp";from=(152,30);to=(152,34)]
out.print(pjid);
// end
// HTML // begin [file="/project3.jsp";from=(152,36);to=(152,44)]
out.write("&typeid=");
// end
// begin [file="/project3.jsp";from=(152,47);to=(152,53)]
out.print(typeid);
// end
// HTML // begin [file="/project3.jsp";from=(152,55);to=(152,62)]
out.write("&page1=");
// end
// begin [file="/project3.jsp";from=(152,65);to=(152,74)]
out.print((page1+1));
// end
// HTML // begin [file="/project3.jsp";from=(152,76);to=(153,0)]
out.write("\">下一页 </a>\r\n");
// end
// begin [file="/project3.jsp";from=(153,2);to=(153,8)]
}else{
// end
// HTML // begin [file="/project3.jsp";from=(153,10);to=(154,0)]
out.write("<img src=\"images/aright.gif\" width=\"18\" height=\"16\" border=\"0\" align=\"absbottom\">下一页\r\n");
// end
// begin [file="/project3.jsp";from=(154,2);to=(154,3)]
}
// end
// HTML // begin [file="/project3.jsp";from=(154,5);to=(155,27)]
out.write("\r\n<a href=\"project3.jsp?pjid=");
// end
// begin [file="/project3.jsp";from=(155,30);to=(155,34)]
out.print(pjid);
// end
// HTML // begin [file="/project3.jsp";from=(155,36);to=(155,44)]
out.write("&typeid=");
// end
// begin [file="/project3.jsp";from=(155,47);to=(155,53)]
out.print(typeid);
// end
// HTML // begin [file="/project3.jsp";from=(155,55);to=(155,62)]
out.write("&page1=");
// end
// begin [file="/project3.jsp";from=(155,65);to=(155,80)]
out.print(count/pagemax+1);
// end
// HTML // begin [file="/project3.jsp";from=(155,82);to=(163,0)]
out.write("\">最后一页</u></td>\r\n </tr>\r\n </form>\r\n</table>\r\n</center>\r\n</body>\r\n</html>\r\n\r\n");
// end
} catch (Throwable t) {
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -