Re: How to repopulate Form which has html elements with same name

2003-06-06 Thread Rodrigo di Lorenzo Lopes
Sorry... But I think your solution is a some dirty. You can use a bean like mytable... public class MyTable { private Collection formBean; public Object getFormBean(){ return formBean; } void setFormBean(Collection c){ formBean = c; } } in a Servlet ... put this

RE: How to repopulate Form which has html elements with same name

2003-06-06 Thread Bailey, Shane C.
Sounds like you might be missing input="theform.jsp" in your action where theform.jsp is the name of your JSP you want to have come back with the errors. Also, have in the JSP to report the errors (just as important (more) than repopulating). If this doesn't help find a better (for you) online

Re: How to repopulate Form which has html elements with same name

2003-06-06 Thread Nathan Pitts
doesn't the form do this automatically? if validation fails, i think the standard behavior is to return the user to the page just as they left it -- preferably with the appropriate error messagei know there are multiple ways to do the validation (and i'm not using the best way), but on