struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Hill <>
Subject Re: about logic tag
Date Mon, 13 Dec 2004 11:29:24 GMT
opps. Didnt see this post when I replied just now.

The syntax seems ok. When you say its not producing results, is there 
any error message or stack trace, or is it just that that part of the 
page is blank?

If blank it sounds like the results vector is empty. I presume you 
initialise it in your Action before forwarding to the view? Given that 
you say the actionform is being recreated I rather suspect that you may 
inadvertanly be using a redirecting forward to forward to the JSP. Check 
your struts-config.xml and make sure that the ActionForward pointing to 
the JSP has redirect="false" set.

Also check that your action="... path in the <html:form tag is correct 
and points at the right action.

Pramod wrote:

> It is not displaying the results. The code producing new instances of
> ActionForm.
> i will send my code
> <logic:iterate id="advanceEntryForm" name="results">
>    <tr>
>     <td bgcolor="beige"><bean:write property="resid" name="advanceEntryForm"
> />
>    </tr>
>   </logic:iterate>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message