wood burning stoves 2.0*
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
Author

2 times login required?

amanjot singh
Greenhorn

Joined: Jan 25, 2010
Posts: 2
Hi,
Hi I am using form based authentication in my site www.scoopthemock.co.in .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

<login-config>
<auth-method>FORM</auth-method>
<realm-name>Form-Based Authentication Area</realm-name>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/fail_login.jsp</form-error-page>
</form-login-config>
</login-config>

Any reply is appreciated
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 2 times login required?