In this section, we will develop a Play Framework Scala and SBT-based Fileupload web application, which is useful to develop our final WF Reactive Systems in the coming chapters.
One of the new features of Play 2.6.x Framework is Fileupload functionality improvements.
We will follow these steps to develop and experiment with this example:
- Create a Play/Scala SBT project with the following name:
Project name: play-scala-fileupload-app
- Update build.sbt file:
build.sbt:
name := "play-scala-fileupload-example" version := "1.0.0" lazy val root = (project in file(".")).enablePlugins(PlayScala) scalaVersion := "2.12.2" libraryDependencies += guice libraryDependencies += ws
- Configure the SBTversion in the build.properties file, as follows:
build.properties:
...