Category Archives: Play framework

Apache as a front-end proxy to a Play! Application on Ubuntu

Here are some instructions to get a Play Application working with Apache2 as a proxy. I am using Ubuntu 10.04 and assume that Apache has already been installed. Create a file that contains the name of your virtual host at … Continue reading

Posted in Apache, Play framework | Leave a comment

Play! Framework render template shortcut

Sometimes you want to render directly to a known template from a controller. To do this you can use the documented method renderTemplate(String templateName, Object[] args) Doing so requires that the first parameter be the complete path to the template. … Continue reading

Posted in Play framework | 1 Comment

Uploading a file using HTTP Post and Play! Framework Databinding on Google App engine

Using an http POST and sending to a Play! controller fails if the Controller action declares the request as java.io.File. So doing this would give a null value for the File variable in the controller: HTML Form: <form action=”@{Application.uploadFile()}” method=”POST” … Continue reading

Posted in Google App Engine, Play framework | Leave a comment