You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jim Barrows <jb...@sssc.com> on 2004/09/10 18:54:40 UTC

RE: Maybe Spam: Help - struggling this for days !


> -----Original Message-----
> From: lixin chu [mailto:lixin_chu@yahoo.com]
> Sent: Friday, September 10, 2004 8:48 AM
> To: struts-user@jakarta.apache.org
> Subject: Maybe Spam: Help - struggling this for days !
> 
> 
> Hi,
> Appreciate your help, I have been trying to find out
> why for days.
> 
> Here is my JSP:
> ----------------
> <b>Search Templates</b>
> <font color="red" size=2>
> <logic:messagesPresent>
> <ul>
> <html:messages id="error">
> <li><bean:write name="error"/></li>
> </html:messages><br>
> </ul>
> </logic:messagesPresent>
> </font>

> 
> <font color="blue" size=2>
> <logic:messagesPresent message="true">
> <ul>
> <html:messages id="messages" message="true">

You aren't setting a bean called messages into any scope.  Check your action class.

> ----------------------------
> I got error message in log file:
> 2004-09-10 23:31:21 StandardWrapperValve[action]:
> Servlet.service() for servlet action threw exception
> javax.servlet.jsp.JspException: ServletException in
> '/WEB-INF/tiles/SearchTemplate.jsp': Cannot find bean
> messages in any scope
> 	at

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org