Hello,
I want to use tag <iterate> for displaying my data. Is it working properly? Where should be placed my Collection property?
 
I'm receiving data from database in CustomAction.java bean. Is it correct?
 
My target JSP page contains:

<table>
<logic:iterate id="lang" name="estatenet.custom.LanguageBean" scope="application">
  <tr>
    <td align="left">
      <bean:write name="lang" property="langCollection"/>
    </td>
  </tr>
</logic:iterate>
</table>
 
and I receive  
 
javax.servlet.ServletException: Cannot find bean lang in scope null
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:386)
at jsp._0002fjsp_0002fCustomDisplay_0002ejspCustomDisplay_jsp_7._jspService(_0002fjsp_0002fCustomDisplay_0002ejspCustomDisplay_jsp_7.java:269)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 
What is wrong?
 
Thnx, Bajo

Reply via email to