Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Lifecycle - URL confusion (forwarding to protected resource)

Chris Ren
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming I have a Faces servlet configured thusly:

when i enter a url, into the browser, JSF processes the request and finds the corresponding xhtml file

for example: hxxp://localhost:8080/myApp/xhtml/welcome.jsf would return the file ./WebContent/xhtml/welcome.xhtml

If I have the following in the faces-config.xml file, why doesnt it return the home page? Must it be a form submission that starts the JSF lifecycle?

Are the navigation rules used after the Invoke Application phase? Is there any way to reach the Invoke Application stage of the JSF lifecycle by hitting a url?

I'm trying to automatically forward from a resource outside /WEB-INF to a resource inside WEB-INF after spring security login
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic