Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Demo Web App

This is a simple useless app demonstrating some functionality of the framework.

Instruction

  • The framework is the only dependency (see pom.xml).
  • Define web app config in .env or set environment variables.
    • Store static files in ./src/main/webapp/static/ or other dir defined in env.
    • Store JSP files in ./src/main/webapp/templates/ or other dir defined in env.
    • Set bind address and port in env, default to localhost:8080.
    • Set debug mode in env, when set to FALSE, server info and debug trace will be hide. Log level will be set to info.
  • Start app by running main function in DemoWebApplication
  • Play around with controllers to mess up endpoint handling.
  • Add more Aspects to intercept methods with AspectJ syntax.