This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes problem with j_security_check Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "problem with j_security_check" Watch "problem with j_security_check" New topic
Author

problem with j_security_check

exkor5000
Greenhorn

Joined: Jun 10, 2008
Posts: 2
Hi

This Tomcat thing is driving me insane, i don't know what else to do after exhausting the google database looking for an answer.

I'm using Tomcat 6.0 with jre1.6.0 and mySQL 5.0.
Everything was installed fine and the systems seem to communicate fine.
I can execute java code in my JSP files with no problem.

The problem is with my login page.
When i want to access a protected page i'm brought to the login page i gave in the web.xml file. I put in the username and the password, and i'm brough back to the login page. No errors in the logs what's so ever.

Does anybody know why this is happening?


I can see that the connector is connected and executing queries:


My WEB-INF/web.xml:


My DB:


My META-INF/context.xml:
exkor5000
Greenhorn

Joined: Jun 10, 2008
Posts: 2
and my form in index.jsp is:
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

"exkor5000", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: problem with j_security_check
 
Similar Threads
How to use DataSourceRealm?
Resin DB-pooling + authentication. HELP!
HTTP Status 404 After Adding security-constraint To web.xml
Form based login
howto config two security-constraints?