FileDocCategorySizeDatePackage
DataLoadPlugIn.javaAPI DocExample801Fri Oct 01 14:12:18 BST 2004com.oreilly.strutsckbk.ch14

DataLoadPlugIn

public class DataLoadPlugIn extends Object implements org.apache.struts.action.PlugIn

Fields Summary
Constructors Summary
Methods Summary
public voiddestroy()

    
public voidinit(org.apache.struts.action.ActionServlet servlet, org.apache.struts.config.ModuleConfig config)

        List users = new ArrayList();
        users.add(new User("George","Bailey","gbailey@bbl.com"));
        users.add(new User("Clarence","Oddbody","clarence@heaven.org"));
        users.add(new User("Sam","Wainwright","heehaw@bfplastics.com"));
        servlet.getServletContext().setAttribute("users",users);