Initial exposure to open-source projects: JSP blog notes

Source: Internet
Author: User

To create a blog of your own, you must stand on the shoulders of giants, So I first tried an open-source blog system (JSP blog.

So first, I ran it first.


Prerequisites

Local Environment

WINXP, tomcat7, myeclipse10

Open Source project web site: http://www.oschina.net/p/jsp+blog

Download a. War package from the URL, and put it under Tomcat's webapps.

Result Tomcat automatically decompress the. War file.



Pre-installed Database

The source code provided by the author is obviously old.

Importing scripts to MySQL

Import the file to MySQL.

Specific Practices reference http://www.jb51.net/article/22734.htm

(Note: Some of the SQL code is older and may not be recognized in the newer mysql)

For example, the MySQL query statement is too old to write type = MyISAM. Replace type = MyISAM with engine = MyISAM, and MyISAM in MySQL is the default storage engine.

Method 2: Install a MySQL-front visualization software and copy and execute the code in portal. SQL.

Memorandum:

Org. gjt. Mm. MySQL. Driver and COM. MySQL. JDBC. Driver (http://hi.baidu.com/nzvxsqjptmafvzr/item/2487de1b950c02a6feded5e2)




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.