MrHeleno Postado Março 24, 2009 Denunciar Share Postado Março 24, 2009 (editado) Bom Dia....Estou tratando o erro 404 atravez do arquivo web.xml da seguinte forma: <error-page> <error-code>404</error-code> <location>erro.jsp</location> </error-page>e a página de erro assim:<html> <head> <title>Erro!</title> <link type="text/css" rel="stylesheet" href="../../css/template_css.css" /> </head> <body> <center> <table cellpadding=0 cellspacing=0 border=1 bordercolor="#2886be" width='80%'> <tr> <td> <table align="center" border="0" cellspacing="2" cellpadding="2" width="70%"> <th> <font color="#000000">Sessão Expirada. Retorne à tela inicial para novo login.</font> </th> <tr> <td align="center"> <input class="button" type="button" value="voltar" onclick=parent.location='../login.jsp' /> </td> </tr> </table> </td> </tr> </table> </body></html>so q tenho páginas pop-up como trato isto?existe algun if possivel q identifique se é popup ou não? Editado Março 24, 2009 por MrHeleno Citar Link para o comentário Compartilhar em outros sites More sharing options...
Pergunta
MrHeleno
Bom Dia....
Estou tratando o erro 404 atravez do arquivo web.xml da seguinte forma:
<error-page>
<error-code>404</error-code>
<location>erro.jsp</location>
</error-page>
e a página de erro assim:
<html>
<head>
<title>Erro!</title>
<link type="text/css" rel="stylesheet" href="../../css/template_css.css" />
</head>
<body>
<center>
<table cellpadding=0 cellspacing=0 border=1 bordercolor="#2886be" width='80%'>
<tr>
<td>
<table align="center" border="0" cellspacing="2" cellpadding="2" width="70%">
<th>
<font color="#000000">Sessão Expirada. Retorne à tela inicial para novo login.</font>
</th>
<tr>
<td align="center">
<input class="button" type="button" value="voltar" onclick=parent.location='../login.jsp' />
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
so q tenho páginas pop-up como trato isto?
existe algun if possivel q identifique se é popup ou não?
Editado por MrHelenoLink para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.