priya sunny wrote:Hi,
i have the login page, when i click submit button i wanted it to go to another jsp page. how is that possible in spring?
do i have to add something in dispatcher servlet
Are you using Spring Security? Spring Security does it automatically if they are trying to access a secured page and they got redirected to the login page, cause they weren't logged in. Then when they login it will redirect them back to the first page they were trying to access. Also in the configuration of your login-form, there is a success url attribute you can set to send it to a particular URL.
Mark