We are using struts framework to build our application. We r facing 1 small problem.We are using struts validate method to perform validations.Problem here is, whenever user submits incomplete information our validate method checks that and return errors back to the same page but the data entered by the user on the form is not maintained and blank fields are displayed.My ActionForm is in request scope.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
we are using struts tags of (struts 1.1). I have solved the problem, but its quite unusual. We have used html:form tags for our form element.And we have used three of its attribute namely action, name and type. Now if I remove name and type from the html:form then everything works fine and values are also maintained but when I use them entered values are lost.