Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

logout problem

 
Bob Green
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I run into a problem with logout and it drives me crazy. Here's my problem, when I click on the Sign Out hyperlink, my application tries to call j_security_check and returns an error because it can not find this page. I have looked at this problem for a long time, can anyone help me with this.

Here's my SignOutAction, what did I do wrong?

TIA

[BPSouther: Added code tags]

[ July 02, 2007: Message edited by: Ben Souther ]
[ July 02, 2007: Message edited by: Ben Souther ]
 
Yogendra Joshi
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Just give a check to web.xml file i.e the deployment descriptor file.

It seems , there is an element configured there for <login-config>
as FORM..

whenever this is configured , it internally checks with j_security_check...

So , if you find an entry like



try removing it , restart the server and try again... I guess it should work.

Cheers ,

Yogendra N Joshi.
 
Bob Green
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yogendra, thank you so much for your response. I don't think it works for me if I remove the FORM; I need to use the form that I implemented instead of the default login form.

Bob
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic