Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tiny Scala web framework, inspired by Sinatra
Branch: develop
Pull request Compare This branch is 455 commits behind scalatra:develop.
Failed to load latest commit information.
akka/src Fix issue with contextPath getting set to null somewhere in async con…
atmosphere/src/main fix build failure
auth/src updates to atmosphere 1.0.1
common/src/main/scala/org/scalatra fix folder name in common project. Make multipart config backed by a …
core/src Refactor allowable values annotation
data-binding/src don't use a thread-local for the request path
example/src/main Add detecting supported transports in atmosphere chat sample
fileupload/src Refactor allowable values annotation
jetty/src/main use private[this] where appropriate
json/src Adds a responseFormat method to the ApiFormats trait.
notes Refactor allowable values annotation
project Refactor allowable values annotation
scalate/src Make csrfKey and csrfToken available in ScalatraRenderContext
scalatest/src/main minor changes
slf4j/src/main/scala/org/scalatra/slf4j correct scaladoc
specs/src/main Removed HttpTester from specs2, specs and scalatest
specs2/src Removed HttpTester from specs2, specs and scalatest
swagger/src Refactor allowable values annotation
test/src Adds @LeifWarner (pdxleif)'s gist to ensure session is serializable
.gitignore Fill out the comments in the atmosphere support
CONTRIBUTING.markdown add a CONTRIBUTING.mkd file, with some content Merge branch 'support/2.0.x' into develop
LICENSE Rename project to Scalatra. Thanks to Hiram Chirino for the name.
README.markdown link straight to guides
sbt Change name of json property for message content


Scalatra Build Status

Scalatra is a tiny, Sinatra-like web framework for Scala.


import org.scalatra._

class ScalatraExample extends ScalatraServlet {
  get("/") {
    <h1>Hello, world!</h1>


Please see The Scalatra Book for more.

Latest version

The latest version of Scalatra is 2.1.1, and is published to Maven Central.

libraryDependencies += "org.scalatra" % "scalatra" % "2.1.1"

Development version

The develop branch is published as 2.2.0-SNAPSHOT to OSSRH.

Starting with 2.1.x, Scalatra is no longer crossbuilt. This means no %% operator in the library dependency.

resolvers += "Sonatype Nexus Snapshots" at ""

libraryDependencies += "org.scalatra" % "scalatra" % "2.2.0-SNAPSHOT"


Something went wrong with that request. Please try again.