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
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
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
3 matches
Mail list logo