Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fork: Scalatra contributions
Scala Shell CSS Other
branch: 2.4.x

This branch is 6 commits behind scalatra:2.4.x

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
atmosphere/src
auth/src
cache-guava/src
cache/src
commands/src
common/src/main
core/src
example/src/main
fileupload/src
jetty/src
json/src
metrics/src
notes
project
scalate/src
scalatest/src/main
slf4j/src/main
specs2/src
spring/src
swagger-ext/src
swagger/src
test/src
.gitignore
.jvmopts
.travis.yml
CONTRIBUTING.markdown
CREDITS.md
LICENSE
README.markdown
crosspaths.sbt
publishing.sbt
sbt
version.sbt

README.markdown

Scalatra Build Status

Join the chat at https://gitter.im/scalatra/scalatra

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

Example

import org.scalatra._

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

Documentation

If you're just starting out, see the installation and first project sections of our website.

Once you've done that, take a look at the Scalatra Guides for documentation on all aspects of the framework, code examples, and more. We also have an extensive selection of Example Applications which accompany the tutorials in the Scalatra Guides.

Latest version

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

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

The upcoming 2.4.0 milestone releases are also available. Please git it a try and give us your feedback!

libraryDependencies += "org.scalatra" %% "scalatra" % "2.4.0.M3"

Development version

The 2.4.x branch is published as 2.4.0-SNAPSHOT to OSSRH.

resolvers += "Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

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

Community

Something went wrong with that request. Please try again.