Pagina inicial

5 respostas
J

Boa tarde…

gostaria de tornar o index como minha pagina inicial, adicionei na web.xml a seguinte tag:


login.jsp

onde pesquisei, seria so isso!

é necessario add mais alguma coisa?

desde já, agradeço

5 Respostas

jimmyhc

Aonde que está a pagina login.jsp ?

A principio é isso mesmo!

J

WebContent

e as outras numa pasta “privado”

jimmyhc

Ta certo.

Qual erro que da ??

J

Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml configuration fileand if you are accessing your jsf-pages through the correct mapping. E.g.: if your FacesServlet is mapped to *.jsf (with the -element), you need to access your pages as ‘sample.jsf’. If you tried to access ‘sample.jsp’, you’d get this error-message.
javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:926)

jimmyhc

A sua aplicação eh jsf.

Imaginava que era struts…

…da uma olhadinha neste post:

http://www.guj.com.br/posts/list/74467.java

Criado 3 de junho de 2009
Ultima resposta 3 de jun. de 2009
Respostas 5
Participantes 2