Page 1 of 1

redirect displays resource

Posted: 10 Mar 2011, 22:17
by danny_mk
I am not sure if this is a primefaces issue or a j_security_check issue.

Once I submit my credentials via a login form I get the correct redirect page (I see this through httpFox):
Redirect to: http://localhost:8080/OfferManager/face ... irect=true
But I also get this redirect:
Redirect to: http://localhost:8080/OfferManager/java ... 0-SNAPSHOT

the second redirect of course shows the css file which is not pretty to the users. Once I get the second URL I can visit: http://localhost:8080/OfferManager/ and everything works fine. However this is obliviously not a solution the users expect.

This may not be a primefaces issues but I thought I would ask here just in case.

Thank you.

Re: redirect displays resource

Posted: 11 Mar 2011, 20:20
by ydarcin
hi,

maybe removing security for your css files will fix the pb so the request to you main page index page will be used by security and after successful login, you will be redirected to that requested page.

Yigit

Re: redirect displays resource

Posted: 11 Mar 2011, 22:51
by danny_mk
Hmmm... that worked like a charm!!!

Thank you, you have no idea how much of a problem this was.