como eu faco um index em xhtml ?
Index
5 Respostas
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<c:redirect url="teste.jsf" />
e em xhtml?
Em html você pode fazer assim
<html>
<title>Redirect to other web address</title>
<meta http-equiv="refresh" content="3;url=http://www.html-lesson.blogspot.com">
<body>
Redirect to http://www.html-lesson.blogspot.com after 3 seconds.
</body>
</html>
Se quiser redirecionar automaticamente coloque 0
se não me engano é preciso ter um index em jsp ou html para que os serviodres web reconheçam a página como um INDEX.
Dela vc dá um redirect pra login.jsf, principal.jsf, index.jsf ou pra onde vc quiser
# <html>
# <title>Redirect to other web address</title>
# <meta http-equiv="refresh" content="3;url=http://www.html-lesson.blogspot.com">
#
# <body>
#
# Redirect to http://www.html-lesson.blogspot.com after 3 seconds.
#
# </body>
# </html>
isso nao funciona
minha pagina nao reconhece isso
eu esqueci de falar..
tem que ser em jsf.. xhtml
Você não pode criar um index.html que apenas redireciona para a sua página?
Criado 25 de agosto de 2008
Ultima resposta 25 de ago. de 2008
Respostas 5
Participantes 3