I just got over a bout with this same error, and after a day of
tail-chasing and not a little profanity I realized that I had not defined
the logic taglib. That error was coming from the write tag, because the
iterate tag was being ignored entirely.
[EMAIL PROTECTED]
07/01/02 02:25 PM
Please respond to "Struts Users Mailing List"
To: [EMAIL PROTECTED]
cc:
Subject: Logic Iterate not finding my bean
[ServletException in:/WEB-INF/jsp/projects/mainmenu.jsp] Cannot find
bean rowset in scope session'
These are for DynaBeans incidentally... I am stuffing an array list and
then setting it like so:
-----------
System.out.println("Name is: " + ((BasicDynaBean)
results.get(0)).get("name"));
session.setAttribute("rowset",results);
-----------
In my jsp I have tried a kabillion combinations for the logic iteratate
and all yield the error above:
<logic:iterate id="refnum" name="rowset">
Next element is <bean:write name="rowset" property="refnum"/>
</logic:iterate>
Here is the simplest I tried... I've added type, etc.. All to no avail
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>