Pessoa,
Eu to com um problema que não consegui identificar.
Usando Struts 1, fiz várias validações todas sem problemas.
Porém, em apenas um form quando a action chama o form ele já entra com a mensagem dizendo que não foi digitado um campo required
Se eu setar o validate como false o struts direciona diretamente para a próxima página e nem mostra a atual.
Segue abaixo os códigos.
struts-config.xml
<action path="/FazerAvaliacao" scope="session" type="org.pulodogato.aulas.FazerAvaliacao" name="respostaQuestaoForm"
input="/WEB-INF/Aulas/questao.jsp" validate="true" cancellable="true">
<forward name="success" path="/WEB-INF/Aulas/questao.jsp"/>
</action>
jsp
<html:form action="/FazerAvaliacao.do" method="post">
<table>
<tr>
<td colspan="3">
<b>
<bean:write name="questao" property="numeroQuestao"/>-
<bean:write name="questao" property="perguntaQuestao"/>
</b>
</td>
</tr>
<tr><td height="5px"></td></tr>
<logic:iterate name="respostas" id="resposta">
<tr>
<td><input type="radio" name="letra" id="letra" value="${resposta.letra}"></td>
<td><bean:write name="resposta" property="letra"/>)</td>
<td><bean:write name="resposta" property="resposta"/></td>
</tr>
</logic:iterate>
</table>
<table>
<tr><td height="20px"></td></tr>
<tr>
<td align="center">
<html:button property="voltar" onclick="window.history.back()">
<bean:message key="voltar"/>
</html:button>
<html:submit property="submit"><bean:message key="proximo"/></html:submit>
</td>
</tr>
</table>
<logic:messagesPresent>
<bean:message key="errors.header"/>
<html:messages id="error">
<bean:message key="errors.prefix"/>
<bean:write name="error"/>
<bean:message key="errors.suffix"/>
</html:messages>
<bean:message key="errors.footer"/>
</logic:messagesPresent>
</html:form>
form
public class FormRespostas extends ValidatorForm implements Serializable {
private String letra;