This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes New Window Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "New Window Problem" Watch "New Window Problem" New topic
Author

New Window Problem

Anand Jayaraman
Ranch Hand

Joined: Jan 28, 2004
Posts: 104
Hi Guys,
I have a problem with one of my JSP's wherein I have a link which opens up as a new window.
Eg:
<td align="right" width="20%"><a href="qaViewStoredFile?sessionToken=****&Id=****&sfId=**** target="_new" ><%=getDate%></a></td>
This opens up as a new window with all window properties(I mean location, menubar, blah blah..)
I can use a Javascript function to make the link open up in a widow with none of the above mentioned properties. However, I just wanted to know if there is any way to open a new window WITHOUT those window properties and at the same time WITHOUT using any javascript. IOW, just few modifications to the above kind of code.
This might sound quite funny because I'm avoiding a staright-forward route thru javascript.

Thanks....
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
Simple answer: NO
there might be hta route, but it will not be supprted to well...
[ April 06, 2004: Message edited by: Eric Pascarello ]
Anand Jayaraman
Ranch Hand

Joined: Jan 28, 2004
Posts: 104
Hi Eric!!
Thanks for that, mate. I thought as much, but wanted to confirm my doubts...

Thanks again...
Cheers
 
 
subject: New Window Problem
 
Threads others viewed
Opening a JSP page in dialogue window
Launch a new window from a servlet?
action class gets skipped when opening link via javascript
Is there any alternative for window.open in Struts
jquery accordion is causing jquery treeview picker to breakup
MyEclipse, The Clear Choice