├── .classpath ├── .gitignore ├── .project ├── .settings ├── .jsdtscope ├── org.eclipse.jdt.core.prefs ├── org.eclipse.wst.common.component ├── org.eclipse.wst.common.project.facet.core.xml ├── org.eclipse.wst.jsdt.ui.superType.container └── org.eclipse.wst.jsdt.ui.superType.name ├── README.md ├── WebContent ├── META-INF │ └── MANIFEST.MF ├── WEB-INF │ ├── lib │ │ ├── javax.servlet.jsp.jstl-1.2.4.jar │ │ ├── javax.servlet.jsp.jstl-api-1.2.1.jar │ │ └── mysql-connector-java-5.1.40-bin.jar │ ├── tags │ │ └── wrapper.tag │ ├── views │ │ ├── createProductView.jsp │ │ ├── deleteProductErrorView.jsp │ │ ├── editProductView.jsp │ │ ├── homeView.jsp │ │ ├── loginView.jsp │ │ ├── productListView.jsp │ │ └── userInfoView.jsp │ └── web.xml └── styles.css └── src └── com └── lanihuang └── simplewebapp ├── beans ├── Product.java └── UserAccount.java ├── conn ├── ConnectionUtils.java └── MySQLConnUtils.java ├── filter ├── CookieFilter.java ├── EncodingFilter.java └── JDBCFilter.java ├── servlet ├── CreateProductServlet.java ├── DeleteProductServlet.java ├── DoCreateProductServlet.java ├── DoEditProductServlet.java ├── DoLoginServlet.java ├── EditProductServlet.java ├── HomeServlet.java ├── LoginServlet.java ├── ProductListServlet.java └── UserInfoServlet.java └── utils ├── DBUtils.java └── MyUtils.java /.classpath: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/.classpath -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/.project -------------------------------------------------------------------------------- /.settings/.jsdtscope: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/.settings/.jsdtscope -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/.settings/org.eclipse.jdt.core.prefs -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/.settings/org.eclipse.wst.common.component -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/.settings/org.eclipse.wst.common.project.facet.core.xml -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/README.md -------------------------------------------------------------------------------- /WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/javax.servlet.jsp.jstl-1.2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/WEB-INF/lib/javax.servlet.jsp.jstl-1.2.4.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/javax.servlet.jsp.jstl-api-1.2.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/WEB-INF/lib/javax.servlet.jsp.jstl-api-1.2.1.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/mysql-connector-java-5.1.40-bin.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/WEB-INF/lib/mysql-connector-java-5.1.40-bin.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/tags/wrapper.tag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/WEB-INF/tags/wrapper.tag -------------------------------------------------------------------------------- /WebContent/WEB-INF/views/createProductView.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/WEB-INF/views/createProductView.jsp -------------------------------------------------------------------------------- /WebContent/WEB-INF/views/deleteProductErrorView.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/WEB-INF/views/deleteProductErrorView.jsp -------------------------------------------------------------------------------- /WebContent/WEB-INF/views/editProductView.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/WEB-INF/views/editProductView.jsp -------------------------------------------------------------------------------- /WebContent/WEB-INF/views/homeView.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/WEB-INF/views/homeView.jsp -------------------------------------------------------------------------------- /WebContent/WEB-INF/views/loginView.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/WEB-INF/views/loginView.jsp -------------------------------------------------------------------------------- /WebContent/WEB-INF/views/productListView.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/WEB-INF/views/productListView.jsp -------------------------------------------------------------------------------- /WebContent/WEB-INF/views/userInfoView.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/WEB-INF/views/userInfoView.jsp -------------------------------------------------------------------------------- /WebContent/WEB-INF/web.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/WEB-INF/web.xml -------------------------------------------------------------------------------- /WebContent/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/WebContent/styles.css -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/beans/Product.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/beans/Product.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/beans/UserAccount.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/beans/UserAccount.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/conn/ConnectionUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/conn/ConnectionUtils.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/conn/MySQLConnUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/conn/MySQLConnUtils.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/filter/CookieFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/filter/CookieFilter.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/filter/EncodingFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/filter/EncodingFilter.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/filter/JDBCFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/filter/JDBCFilter.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/servlet/CreateProductServlet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/servlet/CreateProductServlet.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/servlet/DeleteProductServlet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/servlet/DeleteProductServlet.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/servlet/DoCreateProductServlet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/servlet/DoCreateProductServlet.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/servlet/DoEditProductServlet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/servlet/DoEditProductServlet.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/servlet/DoLoginServlet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/servlet/DoLoginServlet.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/servlet/EditProductServlet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/servlet/EditProductServlet.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/servlet/HomeServlet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/servlet/HomeServlet.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/servlet/LoginServlet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/servlet/LoginServlet.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/servlet/ProductListServlet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/servlet/ProductListServlet.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/servlet/UserInfoServlet.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/servlet/UserInfoServlet.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/utils/DBUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/utils/DBUtils.java -------------------------------------------------------------------------------- /src/com/lanihuang/simplewebapp/utils/MyUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laniywh/simple-web-app/HEAD/src/com/lanihuang/simplewebapp/utils/MyUtils.java --------------------------------------------------------------------------------