Olá!
Estou tendo um problema que, quando clico em um link, ao invés de parecer a página, aparece o código JSP. Ao rodar localmente não ocorre nenhum erro, mas na homologação aparece o código. O código da JSP é o seguinte:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib prefix="apptags" uri="/WEB-INF/tlds/AppTags" %>
<apptags:dwrJS />
<apptags:pesquisaTabelaJS />
<script type="text/javascript" src="${pageContext.request.contextPath}/dwr/interface/PessoaService.js"></script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="Sat, 11 Dec 1982 09:05:00 GMT">
<link href="/sistema/estilo.css" rel="stylesheet" type="text/css">
</head>
<script language="JavaScript">
function reinicializarSenha() {
PessoaService.getPessoa(document.getElementById("loginExterno").value, function(result){
pessoa = result;
if(confirm("Confirma a geração de nova senha de acesso para " + pessoa.nome + ", " + pessoa.descricaoAtividade + "?")) {
document.formNovaSenha.login.value = pessoa.login;
document.formNovaSenha.submit();
}
});
}
</script>
<body>
<br>
<br>
<br>
<div align="center">
<div class="caixa_perfil_total" style="width:250px">
<div class="primeiraLinhaCinza">Gerar Nova Senha</div>
<div class="caixa_perfil_corpo" style="height:110px">
<form name="formNovaSenha" method="POST" action="/sistema/acoes/GerarNovaSenha">
<input type="hidden" name="login" id="login">
<table>
<tr>
<td align="right" width="40%"><b>Usuário: </b></td>
<td><input name="loginExterno" value="" type="text" id="loginExterno" maxlength="25" class="Input" style="width: 130px; height: 16px;" autocomplete="on" onKeyPress="return trataEnter(event, TIPO_TRATAMENTO_TAB, 'senha');"></td>
</tr>
<tr>
<td align="right" width="40%"><b>CPF: </b></td>
<td><input name="cpf" value="" type="text" id="cpf" maxlength="25" class="Input" style="width: 130px; height: 16px;" autocomplete="on" onkeypress="return trataEnter(event, TIPO_TRATAMENTO_SUBMIT, 'formNovaSenha');"></td>
</tr>
<tr>
<td colspan="2" align="center">
<table>
<tr>
<td>
<a ><b>Gerar Nova Senha</b></a>
</td>
<td> </td>
<td>
<a ><b>Cancelar</b></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
</body>
</html>
Obrigada
Viviane