Hi

I read the Servlet 2.2 spec and I failed to understand this note:

1.5.3.1 Login Form Notes
In order for the authentication to proceed appropriately,
the action of the login form must always be �j_security_check�.
This restriction is made so that the login form will always work
no matter what the resource is that requests it and avoids requiring
that the server to process the outbound form to correct the
action field.

Here is an HTML sample showing how the form should be coded into the HTML page:
<form method="POST" action="j_security_check">
<input type="text" name="j_username">
<input type="password" name="j_password">
</form>

What is this j_security_check?
Why it is required?

Can you shed lights on this?

Regards,

Muly.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to