• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

logout problem

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic