hi i have written the following code
Code:
<jsp:useBean id="obj" scope="session" class="employee.EmpDetails" />
<jsp:getProperty name="obj" property="iEmpCode" />
<jsp:getProperty name="obj" property="strEmpName" />
.
.
.
.
<jsp:getProperty name="obj" property="iDepCode" />
<jsp:getProperty name="obj" property="strDepName" />
the problem i am facing is that the employee code and name is displayed and some other data but some other data say the department code and name are not displayed.
if i use scriplets i see that all the data can be obtained but using the <jsp:getProperty/> tag i face some probelem
The code above is just an example. i have not included the actual code.
Thanks for ur help