Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

On click of a Button i eneed to call a JSP Page

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Hi i am having a button close button as shown below inside my JSP Page


Upon clicking on this button it should be redirected to an another jsp page .
(I dont want to use window.open functionality as lot of parameters need to passed )

Please tell me what should be written here ;



Thank you for reading .
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing. your button is a submit type for the form that contains it will be submitted. Your JavaScript fucntion is unneccessary, unless you want to add extra pre-submit logic.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay

I think i will need to change that to



Now can you please tell me what will be the logic ??

 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure why you changed that. You had a submit button which is in a form, you submit the form and all parameters and values it contains are submitted. Are these parameters you want to submit not incldued in this form?
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic