title: PlayFramework 2.3.x: Access public folder using URL with Play and Scala
body: <p>I am uploading a videos and images using web-service and save the images in our application. When i save the files, the files are save on root of application folder. I want to access those images and videos with <code>localhost</code> url, like: I upload the file and save under <code>app-root/upload/image.jpg</code>. In my route mapping file, i declare routing as below: </p>
  
  <pre><code>GET     /uploads/                                   staticDir:/upload 
  </code></pre>
  
  <p>As define in <a href="https://www.playframework.com/documentation/1.2.5/routes" rel="nofollow">Play Documentation</a>. But still getting an compile time error: <code>Controller method call expected</code>. I want to access image like this <code>http://localhost:9999/uploads/image.jpg</code></p>