Top "Playframework" questions

Play Framework is a modern open-source web framework for Java and Scala.

How to get query string parameters in java play framework?

I'm very new to java play framework. I've set up all the normal routes like /something/:somthingValue and all the …

java playframework playframework-2.0 request.querystring
Creating a composite Unique constraints on multiple columns

This is my model: class User {...} class Book { User author; int number; } Every book number starts at 1 per author and …

java jpa playframework persistence
Scala/Play: parse JSON into Map instead of JsObject

On Play Framework's homepage they claim that "JSON is a first class citizen". I have yet to see the proof …

java json scala playframework playframework-2.0
how to remove key value from map in scala

Map(data -> "sumi", rel -> 2, privacy -> 0, status -> 1,name->"govind singh") how to …

scala dictionary collections playframework scala-collections
Declare variable in a Play2 scala template

How do you declare and initialize a variable to be used locally in a Play2 Scala template? I have this: @…

html scala templates playframework playframework-2.0
“Convert” Option[x] to x in Scala

I working with play for scala (2.1) and I need to convert an "Option[Long]" value to "Long". I know how …

scala casting playframework type-conversion options
GSON JsonObject "Unsupported Operation Exception: null" getAsString

Running a Play! app with Scala. I'm doing a request where the response is expected to be a JSON string. …

scala playframework gson
How to connect to a remote MySQL database via SSL using Play Framework?

I deploy Play applications in distributed environments, backed by a remote MySQL database. Specifically, the applications are hosted on heroku, …

java mysql scala playframework amazon-rds
error: package com.sun.tools.javac.util does not exist

I'm trying to run my play 2.0.1 application on Ubuntu 11.10 and when I visit domain.com:9000 I get this error in …

java playframework ubuntu-11.10
Debug Playframework in Eclipse

I just moved from Netbeans to Eclipse. In Netbeans, I can debug Playframework applications out of the box. However, in …

eclipse debugging playframework