Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with FORM based authentication

 
Meg Adal
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
web.xml file

So basically request to /secured/home.do is handled by login.jsp before being passed to webcontroller servlet.

When I access localhost:8080/login/secured/home.do ,I am directed to login.jsp ,if I enter incorrect password I am directed to error.jsp.

error.jsp is:


so error page has nothing but link to login.jsp

But the problem is when I click on this link it looks for /secured/login.jsp not login.jsp and I get HTTP 404 ,page not found error.

So what should I use as URL here?

Thanks in advance
[ July 29, 2005: Message edited by: Meg Adal ]
 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

check the change in this code



Bye for now
sat

NEP - edited to remove page widening...
[ August 02, 2005: Message edited by: Nathan Pruett ]
 
Meg Adal
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply,

but we can't use *.doas only home.do needs authentication, all other .do actions run some business logic and don't need authentication
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic