Welcome to contacts web application. This application is designed to help you manage your contacts. It is based on java servlet and jsp technologies without using any additional frameworks.
Following software must be installed:
- JDK v1.7+
- Mysql v5.7+. Download https://dev.mysql.com/downloads/windows/
After mysql installation you need to execute database creation scripts. Execute scripts from folder sql in following order:
1. create.sql
2. fill.sql
Uploaded files are stored on file system. You need to specify file path in src\main\resources\fileUpload.propertiesfile using property uploadPath.
In order to connect to the database you need to specify database credentials in src\main\webapp\META-INF\context.xml file using username and password attributes. By default it is:
username=root
password=rootTo launch application open command line and navigate to project's root (where pom.xml is located). Execute command:
mvnw.cmd clean package tomcat7:run
After project is built it will be accessible by the reference