Olá,
o que tenho que fazer pra tirar esse erro …
esta dando erro na linha abaixo
Multiple annotations found at this line:
- The method getAttribute(String) from the type ServletRequest refers to the missing type
Object
- Line breakpoint:EnviaMensagem.jsp [line: 24]
<body onload="javaScript:validaMensagem('<%=request.getAttribute("validou")%>');">
<html>
<head>
<title>JMCaptcha - Utilizando JCaptcha</title>
<link rel="stylesheet" href="css/jm.css" type="text/css" />
</head>
<script>
<!-- Mostra mensagem de sucesso ou falha no envio da mensagem -->
function validaMensagem(validou){
if (validou == "S"){
alert('Mensagem enviada com sucesso.');
}
else if (validou == "N"){
alert('Código informado está incorreto');
}
return true;
}
</script>
<!-- Ao carregar a página, validamos se o código Captcha foi informado
corretamente ou não através de Java Script. Esta forma de validação
é meramente ilustrativa. -->
<body onload="javaScript:validaMensagem('<%=request.getAttribute("validou")%>');">