Original: Java JSP multi-user Blog system source code download
Source code: Http://www.zuidaima.com/share/1550463407606784.htm
The Java Multi-user blog system (MVC) uses javabean+servlet+jsp technology, while using Javascript,css+div,ajax technology. With MySQL database, TOMCAT6 is the server.
Official verification:
Project
Home http://localhost: Ports/Projects/
Register http://localhost: Port/Project/register.jsp
Login http://localhost: Port/Project/login.jsp
When you import a DB, the import failure occurs with Navicat. It is recommended to import with CMD and execute before importing:
Set names UTF8;
Additionally, you need to modify the connection configuration of the DB:
Configuration in Com.wt.db.DB.java:
public static Connection Getconn () {Connection conn = null;try {class.forname ("com.mysql.jdbc.Driver"); String uri= "Jdbc:mysql://www.zuidaima.com/blog"; conn = Drivermanager.getconnection (URI, "root", "111111");} catch (ClassNotFoundException e) {e.printstacktrace ();} catch (SQLException e) {e.printstacktrace ();} Return conn;}
Missing servlet jar Package: http://www.zuidaima.com/jar/56211.htm
Trial, the overall feeling is relatively simple, registered after landing can not find a blog post connection, and after landing user hints are not obvious, there are landing buttons, we download a simple look on the good.
Java JSP multi-user Blog system source code download