How to get object from Valuestack and pass it to another action?
Davie Lin
Ranch Hand
Joined: Aug 05, 2007
Posts: 294
posted
0
I have an employee object on ValueStack and I know it's there because in menu.jsp
is displaying properly, so how do I pass this employee to another action?
I have
and confuse on what to put for value attribute, anything in "" will be interpreted as String, and I get noSuchMethod exception
setEmployee(Ljava.lang.String) I have setEmploye(Employee employee) instead. I didn't think I need a EmployeeTypeConverter class because I want to take the current Employee object from ValueStack not instantiate another Employee object.