Source

HelloScala / src / main / scala / com / atlassian / labs / ScalaServlet.scala

1
2
3
4
5
6
7
8
9
package com.atlassian.labs

import javax.servlet.http.{HttpServletResponse, HttpServletRequest, HttpServlet}

class ScalaServlet extends HttpServlet {
    override def doGet(request : HttpServletRequest, response : HttpServletResponse) = {
        response.getWriter().write("Hello from scala");
    }
}