資源簡介
基于MVC的網上書店
實現查詢、購買和管理功能

代碼片段和文件信息
package?org.apache.jsp;
import?javax.servlet.*;
import?javax.servlet.http.*;
import?javax.servlet.jsp.*;
public?final?class?addproduct_jsp?extends?org.apache.jasper.runtime.HttpJspbase
????implements?org.apache.jasper.runtime.JspSourceDependent?{
??private?static?final?JspFactory?_jspxFactory?=?JspFactory.getDefaultFactory();
??private?static?java.util.List?_jspx_dependants;
??private?javax.el.expressionFactory?_el_expressionfactory;
??private?org.apache.AnnotationProcessor?_jsp_annotationprocessor;
??public?object?getDependants()?{
????return?_jspx_dependants;
??}
??public?void?_jspInit()?{
????_el_expressionfactory?=?_jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getexpressionFactory();
????_jsp_annotationprocessor?=?(org.apache.AnnotationProcessor)?getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
??}
??public?void?_jspDestroy()?{
??}
??public?void?_jspService(HttpServletRequest?request?HttpServletResponse?response)
????????throws?java.io.IOException?ServletException?{
????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?{
??????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(“\n“);
??????out.write(“\n“);
??????out.write(“\n“);
??????out.write(“????\n“);
??????out.write(“????????ta?http-equiv=\“Content-Type\“?content=\“text/html;?charset=gb2312\“>\n“);
??????out.write(“????????tle>添加商品 tle>\n“);
??????out.write(“????\n“);
??????out.write(“????\n“);
??????out.write(“????????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????682??2009-03-12?08:17??Shop\nbproject\project.xm
?????文件???????1605??2009-03-12?12:56??Shop\nbproject\ant-deploy.xm
?????文件???????1345??2009-03-12?12:56??Shop\nbproject\private\private.properties
?????文件???????2062??2009-03-12?12:56??Shop\nbproject\project.properties
?????文件??????43776??2009-03-12?12:56??Shop\nbproject\build-impl.xm
?????文件????????455??2009-03-12?12:56??Shop\nbproject\genfiles.properties
?????文件???????1466??2006-12-08?11:32??Shop\src\java\org\netbeans\Web\ProductBean.java
?????文件???????4511??2006-12-08?11:32??Shop\src\java\org\netbeans\Web\AdminDataba
?????文件???????4889??2006-12-08?11:32??Shop\src\java\org\netbeans\Web\AdminServlet.java
?????文件???????2308??2006-12-08?11:32??Shop\src\java\org\netbeans\Web\CartBean.java
?????文件???????1193??2006-12-08?11:32??Shop\src\java\org\netbeans\Web\CartProduct.java
?????文件???????5430??2006-12-08?11:32??Shop\src\java\org\netbeans\Web\CustomerServlet.java
?????文件???????3144??2006-12-08?11:32??Shop\src\java\org\netbeans\Web\Databa
?????文件?????????23??2009-02-16?15:56??Shop\src\conf\MANIFEST.MF
?????文件???????1078??2006-12-08?11:32??Shop\web\WEB-INF\web.xm
?????文件?????????63??2006-12-08?11:32??Shop\web\me
?????文件???????1455??2006-12-08?11:32??Shop\web\addproduct.jsp
?????文件???????1953??2006-12-08?11:32??Shop\web\cartview.jsp
?????文件???????2511??2006-12-08?11:32??Shop\web\checkout.jsp
?????文件???????1594??2006-12-08?11:32??Shop\web\login.jsp
?????文件???????4279??2006-12-08?11:32??Shop\web\searchview.jsp
?????文件???????3560??2006-12-08?11:32??Shop\web\showadddelete.jsp
?????文件????????165??2006-12-08?11:32??Shop\web\welcome.jsp
?????文件???????3489??2009-03-12?12:56??Shop\build.xm
?????文件?????200704??2009-03-12?14:04??Shop\shop.mdb
?????文件???????5003??2009-02-16?16:20??Shop\build\web\WEB-INF\classes\org\netbeans\web\AdminDataba
?????文件???????4121??2009-02-16?16:20??Shop\build\web\WEB-INF\classes\org\netbeans\web\AdminServlet.class
?????文件???????2368??2009-02-16?16:20??Shop\build\web\WEB-INF\classes\org\netbeans\web\CartBean.class
?????文件???????1213??2009-02-16?16:20??Shop\build\web\WEB-INF\classes\org\netbeans\web\CartProduct.class
?????文件???????4406??2009-02-16?16:20??Shop\build\web\WEB-INF\classes\org\netbeans\web\CustomerServlet.class
............此處省略69個文件信息
評論
共有 條評論