Thoughts, stories and ideas.


A 4-post collection

CSRF protection in a web-application

Here is a little snippet for CSRF protection in a web-application which can be used as a app-plugin. This was mostly in ... »

Cihan Keser at | protip |

Adding request mapping to a controller the groovy way

Last time I tried to write my Spring-MVC controllers in Groovy, I learned the hard way that they did not really play nice with each other, s ... »

Cihan Keser at | protip |

Setting default encoding for content returned with responseBody annotation

In Spring-MVC, if the String object returned from your (RequestMapping & ResponseBody annotated) method is encoded in anything other th ... »

Cihan Keser at | protip |

Conditionally ignore JUnit tests

When you have a stubborn test case that was written with *nix OSes in mind and just keeps failing on your Windows machine, what do you do? A ... »

Cihan Keser at | protip |