请问一个关于j_security_check的有关问题

请教一个关于j_security_check的问题
请问一下,我如何利用j_security_check进行验证通过以后再和我的相关程序进行结合,就是说,在表单中指定form的action是j_security_check,但是执行完submit以后跳转到哪里我怎么控制?

------解决方案--------------------
根据JavaEE 教程的解释:
With form-based authentication, the following things occur:

1.A client requests access to a protected resource.
2.If the client is unauthenticated, the server redirects the client to a login page.
3.The client submits the login form to the server.
4.If the login succeeds, the server redirects the client to the resource. If the login fails, the client is redirected to an error page.

所以,你无须声明一旦form login成功后跳转到哪里,因为只要客户端要访问你声明是受保护的资源(页面),就会被重定向到这个form login页面,而一旦认证成功,就会跳转到客户端想访问的资源(页面),所以你只要声明哪些资源受保护就行了。