> One problem I did have was I had to change the above from "EmployeeName"
to
> "employeeName" to get it working.

Good Java style normally reserves Capitalized identifiers for class
declarations.  Struts reflection expects you to be following bean naming
conventions and styles.

> I created an EmplBean as follows:

With public get/set your bean memeber variable should be private or at least
protected.  Also, a little white-space never killed anyone.

  public class EmplBean {
    private String employeeName;

    public EmplBean(String employeeName) {
      this.mployeeName = employeeName;
    }

    public String getEmployeeName() {
      return employeeName;
    }
    public void setEmployeeName(String employeeName) {
      this.employeeName = employeeName;
    }
  }

Reply via email to