joseph.roy9 0 Newbie Poster

I have a form in my application in which I want to validate the user inputs. It has a combo box which is populated from db table. So I have to go to the action class first to populate it(for eg: populateFormAction). Then it will go to form.jsp page.

But the problem is at the time of validation. I have set populateFormAction as input result as follows

<result name="input" type="redirect">/populateFormAction</result>

But when it returned to form.jsp, it doesn't show the validation errors. I think it is because of the use of populateFormAction in between Action handler and form.jsp.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.