Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

use of <error-page> in jsf  RSS feed

 
thegreat me
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I m using

<error-page>
<error-code>500</error-code>
<location>/TemplateClient/Login/loginPage.xhtml</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/TemplateClient/Login/loginPage.xhtml</location>
</error-page>

this code to in wab xml but it not nevigate to that loginPage
it return blank page
 
Tim Holloway
Bartender
Posts: 18705
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I doubt you can make a JSF page be an error-page. Like container login pages, they don't get dispatched via the same route as an external URL does and therefore don't have the full set of available resources.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!