====
Library Path Search System(LPSS) Project. It is a JSP project. The objective is to search the shortest path for collecting books in a library. It is a student AI project in University of Liverpool.
====
Video Demo: LPSS Demo (youtube), LPSS Demo (youku)
For the full installation guide in Chinese (中文说明), check http://www.jiazhewang.com/blogs-cn/?p=76
- Install and set Tomcat
- Install and set MySQL
- import the database file (/databaseFile/library.sql) using the database name 'lpss'
- (optional) Settings in Eclipse
- Some changes before testing
- change the database username and password String in
/LPSS/src/classes/util/MySQLConnection.java
con = DriverManager.getConnection(
"jdbc:mysql://localhost:3306/lpss", "root", "CHANGE_YOUR_PASSWORD_HERE!!!");
Just import the whole /LPSS folder as a Java EE project into Eclipse
If you are not using Eclipse, in /LPSS, you can
- First of all, set tomcat and mysql, import sql file. Then CHANGE THE PASSWORD string in /LPSS/src/classes/util/MySQLConnection.java , after that, COMPLIE THE JAVA FILES! (you can just use javac)
- move the 'classes' folder (LPSS/build/classes) to LPSS/WebContent/WEB-INF/
- move the 'WebContent' folder (LPSS/WebContent) to your Tomcat home path, under /webapps folder (TomcatHOME/webapps/)
- in TomcatHOME/webapps/, rename the 'WebContent' folder as 'LPSS')
- Then (after setting mysql, importing the sql file, and start tomcat server) you can visit http://localhost:8080/LPSS