Hi Tamas In my jsp I do:
<html:form action="/CreateMsvItemReports" target="_new" focus="item_no"> I want to save the original jsp page - that's why I use target="_new". When I remove the ' target="_new" ' I still get an empty jsp page - so still it does not solve my original problem! Thanks Rivka -----Original Message----- From: Tamas Szabo [mailto:[EMAIL PROTECTED] Sent: Thursday, December 29, 2005 4:55 PM To: Struts Users Mailing List Subject: Re: closing the browser after streaming a pdf file Hi! On 12/29/05, Rivka Shisman <[EMAIL PROTECTED]> wrote: > > Hello friends, > > I have a ReportAction from which I'm streaming a pdf file to > AcrobatReader(The Action returns null). > > When the Action ends - an empty I.E. browser opens and then Acrobat > opens my pdf file. > > Is there a way to close the empty I.E. browser? Or prevent it from > opening in the fist place? You probably have a target="_blank" in the link that takes you to the ReportAction. If this is tru just remove the target attribute. If not how do you go to ReportAction? Do you click on a link? Rivka Tamas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]