A simple jsp servlet web app for converting Word (.docx) to PDF.
Below is these tools for building and debugging this web app.
If you have already installed them, just skip.
- Java JDK. I'm using Temurin jdk17 hotspot 17 - 17.0.1.1200.
- You can get them from chocolately.
- Apache Maven - MVN - I'm using v3.8.4
- This tool is used for compile and package web apps.
- For instruction for install MVN, you can follow here.
- Apache Tomcat - I'm using v9.0.54
- This tool is used for create a server.
- MySQL Community
- I will update later. Check back soon.
This web app will load config from "src/main/java/config/Config.java".
In next update, I will make it to load .ini file instead.
Config:
- dbUrl: URL for database connection
- dbUser: Server username
- dbPass: User's password
- dirTemp: Temporary directory for contains file upload and file download.
- Note: Make sure this directory you choiced is readable, modifiable and writable. Otherwise, this web app will terminate immediately.
Because this how-to-deploy contains many images, so this is very loooooong to write here. Click here for view instruction.
Using Eclipse Java EE? Click here for eclipse project instruction.
To check web app, just open browser and navigate to: http://127.0.0.1:(port)/ltmcuoiky/.