You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mo...@Satyam.com on 2002/12/21 08:22:01 UTC

how to open a window on click of a link

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: how to open a window on click of a link

Posted by Max Cooper <ma...@maxcooper.com>.
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:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>