struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimitar Vlasev" <vlase...@gmail.com>
Subject Re: Cannot find bean in any scope
Date Tue, 09 Dec 2008 08:39:49 GMT
1. Try this (I cite these tags on memory so excuse me if I'm not right
with the tag names)
<logic:present name="dvds"> The dvd list is present  </logic:present>
<logic:notPresent bean="dvds"> The dvd list is NOT present </logic:notPresent>

2. If the dvd list is not present try to set a simple string bean into
the request and include it in the page you're forwarding to
<bean:write name="simple_string"/>

Regards,
Dimitar Vlasev

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


Mime
View raw message