2008/12/5 Vinoth.t <[EMAIL PROTECTED]>:
> private String city;
>
>        public Employee(Integer employeeId, String firstName, String lastName,
>                        Integer age, Department department, String city) {
>                this.employeeId = employeeId;
>                this.firstName = firstName;
>                this.lastName = lastName;
>                this.age = age;
>                this.department = department;
>                this.city = city;
>        }

Add default constructor, Struts 2 don't know how to create object's
without default contsrutor. After it will be able to create the
object, it will inject all fields from to matching fields within that
object.


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to