FileDocCategorySizeDatePackage
ResponseWriterAction.javaAPI DocExample820Thu Jun 24 00:28:00 BST 2004com.oreilly.strutsckbk.ch06

ResponseWriterAction

public class ResponseWriterAction extends org.apache.struts.action.Action

Fields Summary
Constructors Summary
Methods Summary
public org.apache.struts.action.ActionForwardexecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)

		response.setContentType("text/html");
		PrintWriter out = response.getWriter();
		out.write("<html><head></head><body>Hello World!</body></html>");				
		return null;