hi,
i have a DynaValidatorForm and a jsp-page to display the form data. in
the jsp page i´m using some combo boxes too.
i have one action class for all actions. this action class does all the
actions for this single jsp page and it extends MappingDispatchAction class.
to initialize my combo boxes with values i´m using e.g.
request.setAttribute("countries", countryNames) where countryNames is an
array of Strings. this works fine.

before i had a DynaActionForm where i havn´t done any validation. i
changed to DynaValidatorForm and added the appropriate settings in
struts-config.xml, validator.xml and MessageResources.properties.
then i wanted to test the validation. it works fine and i get the error
messages. but after submitting the form with wrong input and returning
to the jsp-page i get the following exception:
javax.servlet.jsp.JspException: Cannot find bean under name countries at
org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:374)

after submitting the form with wrong parameters and returning to the
page the beans are gone. is there any possibility to set the beans with
request.setAttribute() again?
thank you

greetz
philippe

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to