Rajesh Challa wrote:Why do i need getByID method, i am not using any id property in my application.
Then why do you have a method called getEmployeeById()? If you're not getting an employee by ID, it's a *very* misleading method name.
how can i make valid employee, and how to use it in JSP.
Fill its values? I don't know--I don't know what your definition of employee validity is.
Joined: Mar 07, 2007
sorry for naming conventions.
let me explain you completely.
I already posted action class and Jsp, i have another two classes Employee think this one as VO contains getter and setters, one more class is EmployeeDao in this class, i am just creating Employee object and setting the values.
please find the code below.
I want display the values in the JSP , assigned to Employee in the EmployeeDao class.