FileDocCategorySizeDatePackage
FlashServlet.javaAPI DocExample888Sun Feb 15 15:43:48 GMT 2004com.jspservletcookbook

FlashServlet

public class FlashServlet extends HttpServlet

Fields Summary
Constructors Summary
Methods Summary
public voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)

    

      response.setContentType("text/html");
      java.io.PrintWriter out = response.getWriter();
      out.println("<html><head><title>Embedded flash content</title></head><body>");
      
      RequestDispatcher dispatcher = request.getRequestDispatcher("/flash.txt");
      dispatcher.include(request, response);

      out.println("</body></html>");
     
     
public voiddoPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)

    
        doGet(request,response);