Skip to content
This repository has been archived by the owner on May 1, 2022. It is now read-only.
/ WORD2PDF_LTMCK Public archive

This repo is just for archive LTM (Year 4). Convert from docx to pdf with jsp servlet.

Notifications You must be signed in to change notification settings

ZoeMeow1027/WORD2PDF_LTMCK

Repository files navigation

WORD2PDF

A simple jsp servlet web app for converting Word (.docx) to PDF.

Table of Contents

Screenshots

Login Dashboard Upload

Requirements

Just run project

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.
  • 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

For debugging

  • I will update later. Check back soon.

[Go to top]

Config

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.

[Go to top]

Getting started - How to deploy?

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.

[Go to top]

Testing

To check web app, just open browser and navigate to: http://127.0.0.1:(port)/ltmcuoiky/.

Ex. http://127.0.0.1:8080/ltmcuoiky/

[Go to top]

About

This repo is just for archive LTM (Year 4). Convert from docx to pdf with jsp servlet.

Topics

Resources

Stars

Watchers

Forks

Languages