Néstor Boscán wrote the following on 1/18/2006 10:48 AM:
set ("variables", new VariableTo [count]);
}
}
Now the first time I call the JSP it works fine. I have a refresh button
that refreshes the page. The reset method is called with no problems and
then I get the exception java.lang.IllegalArgumentException: No bean
specified. Now I did some test using session scope and it seems that if I
put the reset method I also get the exception. There is something in the set
("variables", new VariableTo [count]) method that Struts doesn't like.
A couple things to try... in your constructor:
public FormulaForm()
{
super(); //possibly that's needed to set up your properties?
}
I'm not a guru with the Dyna stuff. Typically it doesn't always really
save your that much. It saves you from having to create some getters and
setters, but any IDE can do that in a breeze. I'd stick to using a
regular ActionForm, but I'm guessing someone can help you here. Are you
positive it's in the "set ("variables", new VariableTo [count]);"
section? If you comment that out and run the app, the app should work
but you'll get that IndexOutOfBounds error (Is that what happens when
you comment that line out?)
--
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]