Category Archives: Play framework

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 →

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 →

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 →