package yoonforh.bbs; /** * Print Servlet * Copyright (c) 1997 Yoon Kyung Koo. All rights reserved. * * contact via yoonforh@interpia.net * * first release date 1997/10/07 * @version 1.01 1997/10/17 * @author Yoon Kyung Koo */ import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class PrintServletSSI extends HttpServlet { public void doPost (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { //value chosen to limit denial of service if (req.getContentLength() > 8*1024) { res.setContentType("text/html"); ServletOutputStream out = res.getOutputStream(); out.println("