I am new to this forum although I have been lurking around for while
I have a question about j_security_check.
I am working in Apache Tomcat server and I want to set up form based authentication. So I used j_security_check and I get an error 404 j_security_check page not found.
I am not sure how this is supposed to work. 1. Am I supposed to load the secured pages before I login and j_security_check should send me to the login.jsp page? Or should I start with teh login.jsp page and if my login is incorrect, then I cannot load any page? (until I login correctly)
I always get 404 j_sedurity_check not found when I try to click submit button in login.jsp page and when I try to open other pages (even without login) I am able to open.
Can you please help me?
Should I register j_security_check in web.xml, if yes, please tell me how and give me a sample, please........
I was able to get this to work (one step, I think) by changing *.jsp in web.xml to \*.
Now if I load a page, it takes me to login.jsp and if I login, I get the following problem:
When I load any page, it takes to login.jsp and I enter the user id and password and if it is correct, it takes me to some image (this is one of the images in the images folder that I have). I have no clue why it goes to that always, when login is successful. It doesn't go to the originally requested page.
What do I have tyo set up to make that happen (meaning if I start with one_two.jsp, it takes me to login.jsp and after I login, I want one_two.jsp to come automatically? How to do that?)
Thanks in advance.
You don't like waffles? Well, do you like this tiny ad?