from javax.servlet import * from javax.servlet.http import * from java.io import * class Hello(HttpServlet): def doGet(req, res): res.setContentType("text/html") out = res.getWriter() out.println("Hello World!") out.println("

Hello World!

")