• Post Reply Bookmark Topic Watch Topic
  • New Topic

using a html:button to open a link in same window

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you for reading my post.
How a can use a html:button to open a link to a jsp file in same context?
i want to open the link in same window.

Thank you.
 
Kerry Wilson
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I you are not using the button as a form post, then you can just use the normal html button with onKlick=document.window.location = '/action.do'
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!