Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1022 Bytes

File metadata and controls

26 lines (20 loc) · 1022 Bytes

chapter02.03-calendar

Execute the below command using Gradle from the project directory:

./gradlew tomcatRun

Alternatively, if you're using Maven, execute the following command from the project directory:

./mvnw package cargo:run

To test the application, open a web browser and navigate to: http://localhost:8080 chapter02.03.png

  1. Try typing an invalid username/password and view the error message. chapter02.03-1.png
  2. Try logging in as an admin (admin1@example.com/admin1), and view all of the events. Note that we are able to view all the events. chapter02.03-2.png
  3. Try logging out and view the logout success message. chapter02.03-3.png
  4. Try logging in as a regular user (user1@example.com/user1), and view all of the events. Note that we get an Access forbidden default tomcat page. chapter02.03-3.png