• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

WARNING: Unexpected error forwarding to login page

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to use FORM based authentication but I am getting this error in the tomcat console...


When I try to goto my web page (http://localhost:8080/E3/common/CustomerInq/index.faces) I get a blank screen.
However, if after getting the blank screen I goto the login page (http://localhost:8080/E3/login2.jsp) and type in a correct login page then I will get redirected to the CustomerInq/index.faces page correctly.
[ June 25, 2004: Message edited by: David Wilson ]
 
David Wilson
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a snippit of my web.xml...


and here is the login from the Orielly JSF book that I am trying to use as a starting point...


Any ideas are will be greatly appreciated.

-David
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi David ,

i just bumped into this problem. well in my case it was easy to fix
i was using <login-page>/login.html</login-page>(wrong) instead of <form-login-page>/login.html</form-login-page> form some reason the parser didnt threw me an error
This error occurs when the container is unbale to pick up the login page at runtime. I would check that i have the right mapping in web.xml and the page is there in the right directory ect.
 
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic