struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammed_Raf...@Satyam.com
Subject RE: how to open a window on click of a link
Date Sat, 21 Dec 2002 11:37:25 GMT
exactly correct. this works!!!!!!!!

-----Original Message-----
From: Max Cooper [mailto:max@maxcooper.com]
Sent: Saturday, December 21, 2002 5:08 PM
To: Struts Users Mailing List
Subject: Re: how to open a window on click of a link


Context path?

<td ><a href="#"
onClick="window.open('<%=request.getContextPath()%>/screenLabelDetails.do')"
>CLICK
 HERE</a></td>

-Max

On Fri, 2002-12-20 at 23:22, Mohammed_Rafeeq@Satyam.com wrote:
> hi,
> 
> how to open a new window in click of a link i used this code
> 
> <td ><a href="#" onClick="window.open('/screenLabelDetails.do')">CLICK
> HERE</a></td>
> 
> it gave the error 
> 
> i have given the appropriate mappings in the struts-config.html
> 
> HTTP Status 404 - /screenLabelDetails.do
> 
> type Status report
> message /screenLabelDetails.do
> description The requested resource (/screenLabelDetails.do) is not
> available.
> 
> Apache Tomcat/4.1.12
> 
> **************************************************************************

> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
> distribution or forwarding of any or all of the contents in this message
is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> **************************************************************************
> 
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message