> -----Original Message----- > From: Vernon Wu [mailto:vernonw@;gatewaytech.com] > Sent: Monday, October 21, 2002 11:44 AM
> I FIND THE PROBLEM! It is not mine, but the tag. See the below > > The <td> fields are empty. > > I use the script instead as I did in the controller. The data > is shown correctly. The code is the followings: > > <% List list = mbox.getList(); > for(int i = list.size(); --i >= 0;){ > MessageHeader header2 = > (MessageHeader)list.get(i); > %> > <td><%=header2.getFrom() %></td> > <td><!-- c:out value="${header.from}"/ --></td> > <td><!-- c:out value="${header.subject}"/ --></td> > <td> </td> > </tr> > <!-- /c:forEach --> > <% } %> > > At the point, I can say the tag doesn't function properly for > this case. I think that's unlikely. This is very plain and common usage. > >Ok, then set breakpoints in your bean getter/setter methods. > When you hit > >the breakpoints, make sure it's returning (and setting) the > data you expect. > >If you don't hit the breakpoints, then that means something else. > > > > As I have said, I don't have any JSP debugger. You don't need a JSP debugger, just an ordinary Java debugger. You have a form class. It's not JSP. Set breakpoints in the getter and setter methods. If it hits the breakpoints, make sure it is getting and setting the values you expect. -- To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>