2009/5/29 Maurizio Rottin <maurizio.rot...@gmail.com>:
> 2009/5/28 Christopher Schultz <ch...@christopherschultz.net>:

>        <logic:empty name="limitNewsList">
>                myScroller.addMessage("Prossimamente news");
>        </logic:empty>
>        <logic:notEmpty name="limitNewsList">
>
> //the problem should be in the bean:define
>                myScroller.addMessage('<logic:iterate scope="request"
> id="nzews" name="limitNewsList" length="2"
> offset="0"><b>&#187;</b><bean:define id="abst" name="news"
> property="abstr" /><bean:define id="title" name="news"
> property="title"/><html:link action="/newsDetail" paramId="id"
> paramName="news" paramProperty="id"><font color="#A90000"><%=
> ((String)title).replaceAll("\'", "&#146;")
> %></font></html:link><br><html:link action="/newsDetail" paramId="id"
> paramName="news" paramProperty="id"><%= StringUtil.getFirstNChar(
> (String)abst, 30 ).replaceAll("\'", "&#146;") %></html:link><span
> style="font-size:4px;"><br><br></span></logic:iterate>');
>
> </script>
> I SKIP THE REST OF THE CODE-->
>
> the error from catalina.out is:
> "ERROR [TP-Processor40] - Servlet.service() for servlet jsp threw exception
> javax.servlet.jsp.JspException: Define tag cannot set a null value
>       at org.apache.struts.taglib.bean.DefineTag.doEndTag(DefineTag.java:272)
> etc. etc."
>

we have isolated the item with the wrong scope:
javax.servlet.jsp.JspException: Cannot find bean news in any scope

but still...why?

-- 
mr

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to