why does struts reset my form after failed validation?

前端 未结 3 599
死守一世寂寞
死守一世寂寞 2021-01-25 14:04

I am using the validation framework with Struts 1.1.When validation fails, the entire form is reset.

After much time scouring the net, I have gathered:

  1. Wh
3条回答
  •  长情又很酷
    2021-01-25 14:12

    The solution is to move the display of the form to a different action than that used to forward. In my example, they are both the same.

提交回复
热议问题