Web

How to ensure you get a BindingResult instead of whitelabel error page when validating input

When I started to use Spring Boot I had some issues with the validation. The @Validated annotation triggered the validation as requested but the validation terminated with an org.springframework.validation.BindException instead of filling the BindingResult object.

Weiter lesen

Configure Apache as Proxy for Thumbor

On our default setup, we use Apache as proxy and load balancer for our applications. This usually works, but caused problems with Thumbor.

 

Weiter lesen

Inject Attributes to Spring Boot Controller Methods (HandlerMethodArgumentResolver)

During learning Spring Boot I noticed attributes to methods in Spring Boot controllers can be automatically injected.

To migrate my blog from Grails to Spring Boot I created an implementation to inject the current blog instance based on an session attribute.

Weiter lesen

Asset Pipeline Thymeleaf Taglib

Using the asset pipline in Grails, the production CSS and Javascript files have been including with a digest appendix. This feature is not available in Spring Boot, therefore I started to create a simple Thymeleaf tag library.

Weiter lesen

SSL Debugging with Arduino / ESP8266

I recently bought the 2.9″ ESPaper Plus Kit, WiFi ePaper display from ThingPulse.

To get this device working with my ansible configured SSL webproxy I had to get some additional debugging skills...

Weiter lesen

Seafile behind a proxy

My Seafile instance is running on a dedicated webserver behind a reverse proxy which is handling the SSL encryption.

This setup with the protocol change on one of the webservers does not work out of the box / this case is not documented in the official server documentation.

Weiter lesen

Bewässerungsanlage mit Raspberry Pi

Um im Sommer Pflanzen nicht zu vernachlässigen habe ich das das Projekt einer automatischen Bewässerungsanlage gestartet... als Testumgebung nutze ich den Topf mit den Kräutern.

Weiter lesen

Fix redmine CSRF / Post-Request issue

I use the squeeze-backport of redmine on Debian.

With the default setup, all the Ajax-Post-Requests cause the logout of the current user due to the missing X-CSRF-Token.

Because I could not find a complete solution, I backported the CSRF-Code from a newer relase.

Weiter lesen

Tandemblog mit neuer Software

Der zweite Blog mit der neuen Grails Blog Software ist online.

Weiter lesen

CSS Selektoren

Mit Selektoren lässt sich mehr machen, das man denkt...

Weiter lesen

Firecookie

Das Firefox-Add-on Firebug ist wohl den meisten Web-Entwicklern bekannt, das Firebug-Addon-on Firecookie aber wohl nicht...

Weiter lesen

© 2015 - 2019 Moritz Kobel

Theme by Anders NorenUp ↑