Tag Archives: web apps

JSoup – Entity exigency

If you’re using JSoup to parse and render HTML documents which could contain a small range of exotic characters you may not like the choice of entity escaping it offers you. Fortunately it’s pretty easy to tweak it to suit your needs. Continue reading

Java – Trusting HTTPS server certificates

Switching Java HTTP client code over to HTTPS can go without a hitch when hitting well-established production servers. When it comes to in-house boxes or development and test environments though, hokey server certificates can throw up a few problems. Continue reading

Java Web Apps – Running regular background tasks

Wrapping a ScheduledThreadPoolExecutor with a servlet context listener provides a great, lightweight way to run regular background tasks in a Java web application. Continue reading