webwork/src/main/webwork/examples Foo.java,NONE,1.1 Bar.java,NONE,1.1

[email protected] Thu, 13 Jun 2002 10:19:47 -0700
Newsgroups gmane.comp.java.webwork.cvs
Message-ID <[email protected]>
Update of /cvsroot/webwork/webwork/src/main/webwork/examples
In directory usw-pr-cvs1:/tmp/cvs-serv24929

Added Files:
	Foo.java Bar.java 
Log Message:
new

--- NEW FILE: Foo.java ---
/*
 * WebWork, Web Application Framework
 *
 * Distributable under Apache license.
 * See terms of license at opensource.org
 */
package webwork.examples;

import webwork.action.ActionSupport;

/**
 * <code>Foo</code>
 *
 * @author Matt Baldree
 * @date $Date: 2002/06/13 17:19:45 $
 * @version $Revision: 1.1 $
 */
public class Foo extends ActionSupport
{
   private String title;

   public void setTitle(String title) {
      this.title = title;
   }

   public String getTitle() {
      return this.title;
   }

   public String doExecute()
   {
      addErrorMessage("Error message added from Foo action.");
      title = this.title.toUpperCase();
      return SUCCESS;
   }
}

--- NEW FILE: Bar.java ---
/*
 * WebWork, Web Application Framework
 *
 * Distributable under Apache license.
 * See terms of license at opensource.org
 */
package webwork.examples;

import webwork.action.ActionSupport;

/**
 * <code>Bar</code>
 *
 * @author Matt Baldree
 * @date $Date: 2002/06/13 17:19:45 $
 * @version $Revision: 1.1 $
 */
public class Bar extends ActionSupport
{
   private String title;

   public void setTitle(String title) {
      this.title = title;
   }

   public String getTitle()
   {
      return this.title;
   }

   public String doExecute()
   {
      return SUCCESS;
   }
}



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink