Play Framework 2.0 is a major revision of Play, a Ruby on Rails-like framework for the Java platform. Version 2.0 introduces features such as the use of Scala language, Akka actors, Scala templates and a build system (SBT).

learn more…| top users | synonyms (1)

0
votes
1answer
37 views

Play framework. Action Not Found. GET instead of POST

I'm trying to make POST request, but every time I get this error.errorI do request from a simple hyperlink in my html-file:<a href="http://stackoverflow.com.mevn.net/@routes.UserController.deleteUser(user._1._id)"> Delete &...
0
votes
2answers
13 views

delete file after serving over HTTP in play framework - java

How do i delete a file after serving it over http,Files.TemporaryFile file=null;try {file=new Files.TemporaryFile(f);return ok().sendFile(file.file());...
0
votes
1answer
22 views

How can I Preload data using CSV Files in Play Framework

My Play Framework project is getting data from a database, but I would prefer to preload the data at the beginning of the application. I have already extracted the database as CSV files, so I would ...
0
votes
1answer
19 views

Dynamic pass value in a Play2 scala template

I try to dynamically change value of its variable. Once onclick (Change Ticket ID ) button then execute onClickSendEmail and variable value should be change of tickedId.Its unable to update with ...
0
votes
2answers
48 views

Serialize LocalDateTime with play json issue

I have a Person case class:case class Person(name: String, createdAt: LocalDateTime)to be able to serialize person object to json so I can return it to the user I have a serualizer:object ...
0
votes
1answer
46 views

HikariCP and servicing threads

This is more of a question about the working of the connection pool in the background.Suppose I have a fixed size connection pool of 1. Using Java Play, I have a configured thread pool which has a ...
0
votes
0answers
26 views

Play Framework WebSocket port

Is it possible to set a different port number for WebSockets with Play Framework 2.6? Different from HTTP requests. For example, use 9000 for HTTP and 8088 for WS connection?The reason I'm asking ...
1
vote
1answer
37 views

How to configure path to routes file in PlayFramework?

I'm using PlayFramework 2.6. I wanted to use the default sbt directory structure so I've created my routes file under the /src/main/resources/ directory. How do I configure that path? Should I use ...
0
votes
0answers
13 views

Error on setting Hikari MetricRegistry

I am trying to use MetricRegistry for Hikary in a Play! application in Java as explained on Hikari's GitHub page. This is basically what I did:HikariDataSource dataSource=((HikariDataSource) db....
0
votes
0answers
41 views

Navigation Model in Scala Play

Does Scala Play come with a mechanism to allow the specification of page navigation for a web service? Say, given a number of templates and forms defined for a web service, is there some built-in Play ...
0
votes
2answers
43 views

Play Framework authentication: request headers are not being added in production

I have implemented an authorized action as explained in this question as well as the answer by @vdebergue.This was working great, and the requests made by the front-end application were ...
0
votes
0answers
18 views

Intelij IDEA: Cannot import sbt project

I am new in Java Play framework and I could not import play-java-starter-example to Intelij IDEA, I've got errors like:Error while importing SBT projectHow to fix it?
0
votes
2answers
32 views

Play Framework - Format Type @inputText

I have the following field in my form:@inputText(empleadosForm("sueldo"),'placeholder -> "",'_label -> Messages("sueldo"),'class -> "form-control",'_size -> ...
0
votes
0answers
26 views

How to remove the reference of one document from other in mongoDB?

I am using play Framework with scala and mongoDB in my project. The issue i am facing here is the auto deletion of document references.I went through the mongoDB documentation which says, there are ...
0
votes
0answers
34 views

Playframework action not catching some exceptions

I'm rather new to Play and was able to implement an Action to handle PersistentExceptions on some requests. I am adding new exceptions to it and the problem is that they are not being caught and I ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,