Forums Register Login

use of <error-page> in jsf

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send


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.
Every snowflake is perfect and unique. And every snowflake contains a very tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1059 times.
Similar Threads
Handle all error codes other than one
Error Page redirection is not working with JSF2.0
Intercept a 404 Error
exception handling
Obtain resources from Login page.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 08:55:13.