Top "Scalatra" questions

Scalatra is a tiny Scala web framework, inspired by Sinatra.

Scala: Replace newline, tab and return sequences from string

I have a string of HTML that I'm copy pasting into a String object that looks something like the following: …

scala scalatra
How to implement a REST Web Service using Akka?

I intend to implement a pure Akka powered REST based Web API. I am not sure about using spray. I …

scala rest akka scalatra
scala.Some cannot be cast to java.lang.String

In this application, I'm getting this error: scala.Some cannot be cast to java.lang.String When trying this: x.…

scala casting scalatra
Choosing a Scala web framework

I am about to start a project for a web application that should run on a Tomcat server. I have …

scala playframework lift scalatra
Scala: print a stack trace in my Scalatra app

Seems like a fairly straight forward problem, but I'd like to log a stack trace when my top level error …

scala exception-handling scalatra
Jetty HTTP 413 Header Full error - Java/Scala

I am using Jetty 7.6 with Scalatra web framework. In some of the requests, I need to send a large text …

servlets jetty scalatra
IntelliJ remote debugger connects, but breakpoints are not working

I am trying out the Scala web framework Scalatra. According to the docs here, the steps to enable IntelliJ debugging …

java debugging intellij-idea sbt scalatra
No multipartconfig for servlet error from Jetty using scalatra

I am trying to unit test an upload call but I get this error for the following code: @MultipartConfig(maxFileSize = 3145728) …

unit-testing rest embedded-jetty scala-2.10 scalatra