Lek ؋ $ ƒ $ ₼ $ $ Br BZ$ $ $b KM P лв R$ $ ៛ $ $ $ ¥ $ ₡ kn ₱ Kč kr RD$ $ £ $ € £ $ ¢ £ Q £ $ L $ Ft kr ₹ Rp ﷼ £ ₪ J$ ¥ £ лв ₩ ₩ лв ₭ £ $ ден RM ₨ $ ₮ MT $ ₨ ƒ $ C$ ₦ kr ﷼ ₨ B/. Gs S/. ₱ zł ﷼ lei ₽ £ ﷼ Дин. ₨ $ $ S R ₨ kr CHF $ £ NT$ ฿ TT$ ₺ $ ₴ £ $ $U лв Bs ₫ ﷼ Z$ | |||||||||||
Trust Nexus WebAuthn+ ~ Unhackable Authentication |
|
||||||||||
|
>>> page 5 - page 6 - page 7 - |
![]() |
||
Setup and Run the Maven Build | ||
Begin by shutting down the Tomcat server. Double click on the shortcut "Tomcat Shutdown". | ||
In Eclipse open the file "foundation/src/main/resources/log4j2.xml". | ||
Set the value for <Property name="logPath">C:/opt/apache-tomcat-9.0.82/logs/rolling</Property> | ||
In Eclipse open the file "foundation/pom.xml". | ||
Set the value for <outputDirectory>C:\opt\apache-tomcat-9.0.82\webapps\</outputDirectory> | ||
Save the file. Then right click and select "Run As >> Maven Build...". | ||
![]() |
||
The "Run Configurations" screen will be displayed. Enter "package" in the "Goals" text box then click "Run". | ||
![]() |
||
In Windows Explorer go to the Tomcat webapps directory, The foundation.war file, just created by the build, will be in the directory. | ||
![]() |
||
Get the activation-1.1.1.jar from https://mvnrepository.com/artifact/javax.activation/activation/1.1.1.
Get the javax.mail-1.6.2.jar from https://mvnrepository.com/artifact/com.sun.mail/javax.mail/1.6.2. The download link for the "jar" is next to the "Files" label. Place both jar files in C:\opt\apache-tomcat-9.0.82\lib |
||
Start up the Tomcat server by double clicking on the shortcut "Tomcat Startup". The war file will be deployed to the server:
C:\opt\apache-tomcat-9.0.82\webapps\foundation. |
||
![]() |
||
Open your Edge browser and enter "http://localhost/foundation/displayTestOverview.action" in the URL address text field; press the enter key. The WebAuthn+ "Test Overview" screen is displayed. | ||
![]() |
||
You can view the Tomcat command console and see the log entries for your recent action: "displayTestOverview.action". | ||
The "displayTestOverview.action" class displays the page and logs information in the database about the visitor. | ||
![]() |
||
You can view the log entries in the "foundation.log" file located at the <Property name="logPath"> specified above. | ||
![]() |
||
Every time a visitor comes to your "Test Overview" page, an entry is made the the "visitor" table in the database.
In the MySQL Workbench right click on the table "visitor" and select "Select Rows - Limit 1000". |
||
![]() |
||
Note: The "refCode" is an optional parameter you can add to the URL string. Try entering "http://localhost/foundation/displayTestOverview.action?refCode=test123" in the address bar, hit enter then check your log and database again. |
||
You now have a Java web application, with advanced cryptographic functionality, with JSPs using responsive CSS, managed within the Eclipse IDE, built by the Maven build process, running on the Apache Tomcat application server, and connecting through JDBC to a database running on MySQL. | ||
You are now a "full stack" developer. Very cool! | ||
Wouldn't it be even cooler if the entire world could see your work? Once your dynamic DNS system is configured you can send your friends an email with the link to your web application. | ||
![]() |
||
|
||