• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

new tab servlet

 
Chaveen Ekanayake
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys.
how can I program to open a new window or a tab when dispatch or redirect to another jsp or a servlet?? please help
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By "tab" do you mean a browser tab? Or an HTML/CSS construct?
 
Chaveen Ekanayake
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hI

I meant browser tab or a new window

thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In that case this is an HTML and JavaScript question. I've moved it to a more appropriate forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can execute a window.open() under JavaScript control. Or you can use the attribute target="_blank" on a link or on a form.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic