|
-
Mar 15th, 2007, 06:49 AM
#1
Thread Starter
Lively Member
struts logic:iterate problem
how do i do <logic:iterate>? my code as below. what are the things that i have to add/change. Im using hibernate and struts. thanks
Actionclass:
List lMessage= msgr.getMessages(sThreadId);
Vector vMsg=new Vector();
for(int i=0; i<lMessage.size();i++)
{
MessageForm oForm = (MessageForm) form;
msgObj = (Message) lMessage.get(i);
oForm.setThreadId(msgObj.getThreadId());
}
what should i do so that in my jsp page, i can <logic:iterate> and <bean:write>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|