Jetty 11 Secure Connections
17 Jan 2023
An updated look at Jetty secure connections for use in a Javalin web app. This includes redirection of all insecure (http) traffic to a secure (https) connection.
The NetBeans Output Window - Revisited
12 Jan 2023
Printing UTF-8 characters to the NetBeans output window used to require some extra set-up - for Windows-based users, at least. It still does, but the steps have changed slightly for more recent versions of Java.
Custom Routes in Javalin - A Better Way
15 Dec 2022
This is an update to a recent write-up, showing a better way to create a custom route in Javalin…
Use Spring's Thymeleaf Dialect Without a Spring Application
21 Nov 2022
You don’t need a full Spring framework application to take advantage of Spring’s dialect of Thymeleaf. But you may need to make some non-trivial configuration changes to your application, depending on how it integrates with Thymeleaf (and its standard dialect).
Windows findstr - sort of a bit like grep
19 Nov 2022
Another Windows command I always have to look up every time I need to use it.
Custom Routes in Javalin
16 Nov 2022
I wanted to set up a “maintenance mode” for a web application built on Javalin. That is, when the site is in maintenance mode, all normal routes are ignored (and the user sees a single “in maintenance” page), unless that user logs in as a site administrator.
MySQL on Linux - Incorrect GPG Keys Installed
13 Nov 2022
MySQL on Linux - Unable to update packages for version 8.0.28 and later, due to incorrect GPG key.
Upgrading Thymeleaf 3.0 to 3.1
03 Nov 2022
Handling a deprecation warning when upgrading Thymeleaf from 3.0 to 3.1.
Showing and Hiding Long Data in a Table
09 Oct 2022
Toggling long content in each cell of a DataTable
Passing Java Functions in Variables
17 Sep 2022
Passing Java functions around using variables. Some example code, with notes. And a reminder that just because you can pass functions around in this way, doesn’t mean you always should.