package ch.frankel.blog.scala

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

class ScalaServlet extends HttpServlet {

  override def doGet(request: HttpServletRequest, response: HttpServletResponse) {

    response setContentType ("text/html")

    val out = response getWriter

    out println """<html>
	<head>
		<title>Scala Servlet
	<body>
		<p>Hello world!"""
  }
}