File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes 2 times login required? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "2 times login required?" Watch "2 times login required?" New topic

2 times login required?

amanjot singh

Joined: Jan 25, 2010
Posts: 2
Hi I am using form based authentication in my site .But When I login It redirects me again to login page and after second login it redirects to the correct page.I am unable to understand why it requires two logins to move to correct page

The part of web.xml for form based authentication is

<realm-name>Form-Based Authentication Area</realm-name>

Any reply is appreciated
I agree. Here's the link:
subject: 2 times login required?