I am fairly new to Struts and using the 1.1 version. I have a form bean that didn't have a validate method and just tried adding it (validate()) and now getting errors which I guess I kind-of understand but need to know how people generally work around this issue.
The page has fields for title, author and some dropdowns for product and release. The page populates the product and release dropdowns from maps that I stuff in the request (request.setAttribute()). I added code in the validate to ensure that a title and author have been entered. Problem is: if you don't enter those, then my action never gets called to populate those items (product & release) in the request. Which later results in a jsp page error because it can't find the 'bean' for product (or release). Is this a problem that is generally 'caught' in the jsp page by checking for the bean or is there something that I need to do in the code? Is this where the reset() method might be used to provide a 'default' value? Mike Miller JDA Software Group, Inc. 7501 Ester's Blvd, Suite 100 Irving, Texas 75063