When using a formThe parameter cannot be converted correctly.To the input. jsp page.
For example, we have a real student with attributes such as name, num, and age.
Student. Name, student. Num, and student. age should be sent from the form.
However, it is possible that the transmitted data type is incorrect, or the transmission name is incorrectly written, such as student. Mame.The parameter cannot be converted correctly.This error is very difficult to debug. you can insert a breakpoint in the action, but it is not in the action.
At this time, it will automatically come to input. jsp. If you do not have input. jsp under webroot, the Error 404 will be returned.
This gives us a good inspiration.
We construct the input. jsp page under webroot,
Write in it
<Body>
<S: fielderror> </S: fielderror>
</Body>
This error will be displayed on the input. jsp page, which is very practical.