Following Strut bean contains a property named number.

Java Code:
import org.apache.struts.action.*;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class LogicForm extends ActionForm 
{
    
  private long number;        
  public long getNumber() 
    {
        return number;
    }
    
    public void setNumber(long number) 
    {
    this.number=number;
  } 
}