Meaningless Drivel is fun!
The moose likes JSP and the fly likes j_security_check in general LOGIN page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "j_security_check in general LOGIN page" Watch "j_security_check in general LOGIN page" New topic

j_security_check in general LOGIN page

Gangadhar Mylapuram

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?
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

Joined: Jan 10, 2002
Posts: 63873

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.
JSP Forum Bartender

[Asking smart questions] [About Bear] [Books by Bear]
Gangadhar Mylapuram

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.
I agree. Here's the link:
subject: j_security_check in general LOGIN page
It's not a secret anymore!