aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes new tab servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "new tab servlet" Watch "new tab servlet" New topic
Author

new tab servlet

Chaveen Ekanayake
Greenhorn

Joined: Jun 01, 2008
Posts: 14
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

Joined: Jan 10, 2002
Posts: 61434
    
  67

By "tab" do you mean a browser tab? Or an HTML/CSS construct?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Chaveen Ekanayake
Greenhorn

Joined: Jun 01, 2008
Posts: 14
hI

I meant browser tab or a new window

thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

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

Joined: Jan 10, 2002
Posts: 61434
    
  67

You can execute a window.open() under JavaScript control. Or you can use the attribute target="_blank" on a link or on a form.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: new tab servlet