you can use target="_blank" .
 
 
----- Original Message -----
From: Syd Naveen
Sent: Monday, July 16, 2001 4:36 PM
Subject: RE: using <html:link> with javascript

its opening it twice bcoz ur giving a page link and also opening the page thro java script window.open method.
syd

-----Original Message-----
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 8:12 AM
To: Struts-User
Subject: using <html:link> with javascript


Hello all.  Simple question:  is there a way to use JavaScript in the
html:link tag so that the url pops open in a new window?  At the moment,
using something like:
<html:link page="http://myLink..." >
"window.open("http://myLink...")> is opening the page twice...once in the
original window, and once again in the new window.

Any suggestions?

Melissa Rabin
Web Engineer

Reply via email to