Hi guys,
i was written in vrifyLink();
public
String verifyLink()
{
int empid = Integer.parseInt(request.getParameter("id"));
System.out.println(" empid " + empid);
employee = toCapDao.retriveFactsheet(empid);
String link = employee.getCapabilityBuilding();
}
And i want to
test this method like
public void testverifyLink(){} inside
TestCapabiltyBuildingAction class.
I want to initialize the
HttpServletRequest and
HttpServletResponse object into this method; to initialize the
int empid = Integer.parseInt(request.getParameter("id")); in above nethod; but how i could achieve this.
Somebody tells he/she will be good appriciated.