Archive for the ‘PlayFramework’ Category

Use your templates with both Java and Scala Controllers in PlayFramework 2.x and avoid getting “RuntimeException: There is no HTTP Context available from here.”.

I’m using PlayFramework 2.3 [1] on a new project of mine. Because I want the¬†project to be safe by default, I enabled CSRF (Cross Site Request Forgery) Protection globally [2] [3]. In this project, I’m doing a pass-through of some legacy pages using a custom proxy I’ve built. These pages don’t know the concept of […]