Re: Struts2 form validation gets indefinite loops in web browsers

2009-09-17 Thread Dale Newfield
Jipu Jiang wrote: So if user input something wrong, I want to show the original form.jsp page with all the parameters extracted from the database along with error messages. So I need to go to the prepareAction first to gets these parameters, and then display them in form.jsp page. So make sure

Struts2 form validation gets indefinite loops in web browsers

2009-09-17 Thread Jipu Jiang
Struts2 form validation gets indefinite loops in web browsers Continue on the last email: So if user input something wrong, I want to show the original form.jsp page with all the parameters extracted from the database along with error messages. So I need to go to the prepareAction first to gets

RE: form validation gets indefinite loops in web browsers

2009-09-17 Thread Jipu Jiang
2009 17:55 To: Struts Users Mailing List Subject: Re: form validation gets indefinite loops in web browsers Jipu Jiang wrote: >prepare Why are you redirecting? -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.a

Re: form validation gets indefinite loops in web browsers

2009-09-16 Thread Dale Newfield
Jipu Jiang wrote: prepare Why are you redirecting? -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

form validation gets indefinite loops in web browsers

2009-09-16 Thread Jipu Jiang
Hello everyone, Could anyone help me on an issue here? Here is the problem. I have a form in JSP to submit. But the parameters in this form is not static, they are from a database. So I have an action to be called first before enter the JSP page. It goes like this in the struts.xml: f