- Spring MVC 5
- Spring Security 5
- Spring JDBC
- Spring Logging
- Spring Bean Validation (JSR-303)
- Spring Global Exception Handler
- JSP/EL/JSTL
- Bootstrap 4.3
- jQuery Toast Plugin
- Tomcat 9
- H2 In-Memory Database
git clone https://github.com/uniquejava/FSD.git
cd FSD/lab05
mvn clean package
cp ./target/course-app.war TOMCAT_HOME/webapps- Build war file
mvn clean package - Copy
target/course-app.warto<TOMCAT_HOME>/webapps - Start up tomcat 9 server
sh <TOMCAT_HOME>/bin/startup.sh - Open in browser: http://localhost:8080/course-app/
- Built-in users:
admin/adminandtomcat/tomcat.
https://www.baeldung.com/global-error-handler-in-a-spring-rest-api
https://www.baeldung.com/exception-handling-for-rest-with-spring
https://www.mkyong.com/maven/how-to-create-a-web-application-project-with-maven/
https://lmonkiewicz.com/programming/get-noticed-2017/spring-boot-rest-request-validation/
https://www.baeldung.com/global-error-handler-in-a-spring-rest-api
- https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html#mvc
- https://howtodoinjava.com/spring5/webmvc/spring-dispatcherservlet-tutorial/
- https://stackoverflow.com/questions/41577234/why-does-spring-mvc-respond-with-a-404-and-report-no-mapping-found-for-http-req
- https://howtodoinjava.com/spring5/security5/security-java-config-enablewebsecurity-example/
- https://stackoverflow.com/questions/35715065/it-throws-me-500-failed-to-evaluate-expression-role-user-in-spring-security
- What is the difference between spring factory-method and factory-bean?
- https://github.com/linagora/linshare-core/blob/master/src/main/resources/springContext-security.xml
- 写得贼好 Creating a Custom Login Form
