No, not without non-standard integration with the web container such as a tomcat valve. See the example valve I posted here which adds the j_username to the session for use on the error.jsp page:
Similary a valve can be used to process additional fields.
Thanks, I have another question:
If a user try to access a page and is redirected to a form based authentication page, how can I dynamically determine the original page the user wanted to access.
In fact, if my from based authentication page is deployed on another adress than the application, when I do my post to j_security_check, it doesn't work, I have to post to http://mymachine:8080/myapp/j_security_check. So I want to determine the adress of the application aimed in order to use the same authentication page for all my applications.
Thanks in advance