This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.