redirect displays resource

UI Components for JSF
Post Reply
danny_mk
Posts: 7
Joined: 15 Nov 2010, 04:59

10 Mar 2011, 22:17

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.
PrimeFaces version: 3.3
JDK: 1.6
JSF: 2.0
Server: GlassFish 3.1.1

User avatar
ydarcin
Posts: 258
Joined: 04 Jan 2009, 19:02
Location: Turkey

11 Mar 2011, 20:20

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

danny_mk
Posts: 7
Joined: 15 Nov 2010, 04:59

11 Mar 2011, 22:51

Hmmm... that worked like a charm!!!

Thank you, you have no idea how much of a problem this was.
PrimeFaces version: 3.3
JDK: 1.6
JSF: 2.0
Server: GlassFish 3.1.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 58 guests