Subject: <jsp:useBean> action problem
Posted By: austinf Post Date: 8/21/2006 2:36:55 AM
hi i have written the following 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
Reply By: panacea Reply Date: 8/21/2006 4:23:51 PM
Seems like you have a typo somewhere ... there shouldn't be anything tricky, except for perhaps capitalization.

Jon Emerson
http://www.jonemerson.net/

Go to topic 48622

Return to index page 198
Return to index page 197
Return to index page 196
Return to index page 195
Return to index page 194
Return to index page 193
Return to index page 192
Return to index page 191
Return to index page 190
Return to index page 189