FileDocCategorySizeDatePackage
ViewMyUsersAction.javaAPI DocExample748Fri Oct 29 16:20:44 BST 2004com.oreilly.strutsckbk.ch10

ViewMyUsersAction

public class ViewMyUsersAction 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)

		MyUserDao dao = new MyUserDao();
		List users = dao.getAllUsers();
		request.setAttribute("users", users);
		return mapping.findForward("success");