You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Tricia Ong Cheah Yen <tr...@aretae.com> on 2001/10/04 18:49:24 UTC

Pop-Up Window

i've got this Javascript that pops up another window to display a Strut
form

<script language="javascript">
function openWin() {
	window.open("/util/showEmailFriend","_blank", "
toolbar=0,scrollbars=0,status=1,resizable=0,menubar=0,width=400,height=5
00");
	}
</script>


	but i kept getting an error... "can't find
C:/iPlanet/Servers/docs/util/showEmailFriend.do (File not found)"

	any pointer in how i should i go about acheiving this?
+trish


RE: Pop-Up Window

Posted by John Schroeder <js...@quovera.com>.
Hi Tricia,

try adding a .do to showEmailFriend ("/util/showEmailFriend.do"). That
should solve it.

--John




-----Original Message-----
From: Tricia Ong Cheah Yen [mailto:tricia.ong@aretae.com]
Sent: Thursday, October 04, 2001 9:49 AM
To: struts-user@jakarta.apache.org
Subject: Pop-Up Window
Importance: High


i've got this Javascript that pops up another window to display a Strut
form

<script language="javascript">
function openWin() {
	window.open("/util/showEmailFriend","_blank", "
toolbar=0,scrollbars=0,status=1,resizable=0,menubar=0,width=400,height=5
00");
	}
</script>


	but i kept getting an error... "can't find
C:/iPlanet/Servers/docs/util/showEmailFriend.do (File not found)"

	any pointer in how i should i go about acheiving this?
+trish