Index

5 respostas
Deluxe

como eu faco um index em xhtml ?

5 Respostas

Deluxe

<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%> <c:redirect url="teste.jsf" />

e em xhtml?

Andre_Fonseca

Em html você pode fazer assim

&lt;html&gt;
&lt;title&gt;Redirect to other web address&lt;/title&gt;
&lt;meta http-equiv="refresh" content="3;url=http://www.html-lesson.blogspot.com"&gt;

&lt;body&gt;

Redirect to http://www.html-lesson.blogspot.com after 3 seconds.

&lt;/body&gt;
&lt;/html&gt;

Se quiser redirecionar automaticamente coloque 0

Giulliano

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

Deluxe
# <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

Andre_Fonseca

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