This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes JSP and the fly likes j_security_check in general LOGIN page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "j_security_check in general LOGIN page" Watch "j_security_check in general LOGIN page" New topic
Author

j_security_check in general LOGIN page

Gangadhar Mylapuram
Greenhorn

Joined: Mar 17, 2004
Posts: 2
I am new to this JSP world.
While i am looking at login.jsp page, I found j_security_check for form action parameter. But i failed to find the j_security_check related code.
I have gone through some documents there i found it is the techinque used to protect the webpages.
Can any body explain regarding this.
How authentication process will be?
thanks
gangadhar
brad balmer
Ranch Hand

Joined: Mar 08, 2004
Posts: 57
j_security_check is the default name for container authentication. By using j_security_check you are asking your web application server (JBoss, Tomcat, WebSphere ..) to use their internally written process to perform the validation of the j_username and j_password passed to it. (Based on your web.xml and container specific auth modules).
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56150
    
  13

"bbalmer",
We're really glad that you are here with us in the JSP forum, and there aren't many rules you'll have to worry about, but one is that proper names are required. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Thanks!
bear
JSP Forum Bartender


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Gangadhar Mylapuram
Greenhorn

Joined: Mar 17, 2004
Posts: 2
Thanks,That is fine.
But i am unable to login when i am using netscape navigator.
It is goining back to the previous page
By using IE5.5 I am able to login successfully.

Is there any specific reason for this?
If yes, what it is and how to rectify this?
I will provide the page if you want.
Thanks
Gangadhar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: j_security_check in general LOGIN page
 
Similar Threads
j_security_check issue
How does the "j_security_check" work?
j_security_check and apache and Tomcat
j_security_check 'next' page?
action="j_security_check"