aspose file tools*
The moose likes Struts and the fly likes Data not able to get in the jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Data not able to get in the jsp page" Watch "Data not able to get in the jsp page" New topic
Author

Data not able to get in the jsp page

vamsi nani
Greenhorn

Joined: Jun 14, 2006
Posts: 12
I have used the logic iterate in a jsp file , I am not able to get the details from the data base, I am getting the jsp page with out data , can any one tell ehat might be the error





<logic:iterate id="pp" name="parentProduction" indexId="index">
<tr>
td width="5%" class="bluebg">
<bean:write name="pp" property="xybad_Jan"/><br/></td>
</tr>
</logic:iterate>
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The parentProduction collection is probably empty. The problem is most likely not with the JSP. You need to debug the code in your action class that is supposed to populate the parentProduction collection and put it in some scope, such as request or session. Use System.outprintln() statements or a debugger to help you figure out what is going wrong.


Merrill
Consultant, Sima Solutions
vamsi nani
Greenhorn

Joined: Jun 14, 2006
Posts: 12
Thanks alot , I got it cleared
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Data not able to get in the jsp page