1

I need to direct to one jsp page from one jsp on button click onclick event.I have one simple form called add-metadata.jsp In this file I have some form elements and one button too.when I click this I need to redirect to another jsp file as add-metadata-finish.jsp

already that main form action event is directed to another jsp file but I need to direct my jsp file only for button click.

How can I do this ?

Christopher Schultz
  • 20,221
  • 9
  • 60
  • 77
raji satkunam
  • 115
  • 1
  • 2
  • 14
  • on click try `window.location.replace("your url string");` or `window.location.href = "your url string";`[Read More](http://stackoverflow.com/questions/503093/how-can-i-make-a-redirect-page-in-jquery-javascript) – super Dec 30 '14 at 16:38
  • This question has been asked a lot. Check out http://css-tricks.com/redirect-web-page/. I think you could simply do something like ` – Phil Tune Dec 30 '14 at 16:38

0 Answers0