I'm pretty new at this so take it easy on me.
The code I'm trying to get to work is:
<jsp:useBean id="EJD" class= "MoverDetailForm" scope="application"/>
<jsp:setProperty name="EJD" property="empFDJoiningDate" param="empFDJoiningDate" />
<% String empFDJoiningDate = EJD.getEmpFDJoiningDate();
out.print("please work" + empFDJoiningDate); %>
empFDJoiningDate is returning 'null' so i assume it cant find the MoverDetailFom.java?
This does exist
public class MoverDetailForm extends AbstractCandidateForm {
private String empFDJoiningDate;
/**
* @return Returns the empFDJoiningDate.
*/
public String getEmpFDJoiningDate() {
return empFDJoiningDate;
}
/**
* @param empName The empName to set.
*/
public void setEmpFDJoiningDate(String empFDJoiningDate) {
this.empFDJoiningDate = empFDJoiningDate;
}
Any suggestions would be much appreciated. I'm stuck!
Thanks