문제

I'm trying to show a complete list of my form errors. Now I can do <form:errors path="x"/> a few times, but unless I'm mistaken I should be able to just use <form:errors/>? However <form:errors/> gives me no output.

Does anyone know why this is happening (and yes, the form:errors is within my form:form)

도움이 되었습니까?

해결책

<form:errors/> produces errors associated with the command object itself. To get errors for all its fields you need <form:errors path = "*" />.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top