Thanks Pete,
Abraham

> -----Original Message-----
> From: Peter Alfors [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 14, 2001 6:57 AM
> To: [EMAIL PROTECTED]
> Subject: Re: struts-config.xml - How do I open a "success" path as a new
> window???
>
>
> Your javascript code looks correct.  :)
>
> However, if at all possible, I would avoid using javascript.  Basically,
> because the user may have javascript turned off in their browser.
>
> Pete
>
> Abraham Kang wrote:
>
> > Hi Linnea,  I think it would be easier to use<a class="leftnav"
> > href="javascript:window.open('yourAction.do','windowName',
> > 'status=no')">Your action will return mapping.findForward("success")
> > to load the popup windows contents.Pete,  my javascript is rusty so if
> > you see any errors please correct.--Abraham
> >
> >      -----Original Message-----
> >      From: Linnea Ahlbeck [mailto:[EMAIL PROTECTED]]
> >      Sent: Wednesday, June 13, 2001 1:52 AM
> >      To: [EMAIL PROTECTED]
> >      Subject: struts-config.xml - How do I open a "success" path
> >      as a new window???
> >
> >      Hi!!
> >
> >      I want to my path
> >
> >          <forward name="success" path="/InsertAddress.jsp"/>
> >
> >      to open the jsp-page as a new window/page ( like the html
> >      tag
> >
> >      <td align="left"><a class="leftnav" href="http://...../";
> >      target="_blank"><bean:message key="icon.calendar"/></td> )
> >
> >      Any ideas how to do this with struts???
> >
> >      Thanks / Linnéa
> >
> >
> >
>

Reply via email to