You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jagdish Arora <ja...@hotmail.com> on 2003/04/09 01:15:12 UTC

Re: PDF generator . setContentLength in IE

Hi Tim,

Thanks for the input.  Yes, I do use setContentLength, however it does not
fix the problem.  Actually without using that even the attachment sometimes
gives problems

Amrinder

----- Original Message -----
From: "Tim Shadel" <ti...@zserve.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Tuesday, April 08, 2003 6:22 PM
Subject: Re: PDF generator


> Do you send the PDF back from your action?  Do you call
> setContentLength()?  It's been a while, but I think I had a PDF problem
> with similar symptoms.  Figuring out a way to set the response's content
> length fixed it for me.
>
> Tim
>
> Jagdish Arora wrote:
> > *This message was transferred with a trial version of CommuniGate(tm)
Pro*
> > Micheal,
> >
> > I use XSL FO, and it works just fine for me.  I create an intermediate
XML
> > from my model, and apply the XSL to it, code is probably 5 lines long
for
> > the transformer, and about 20 lines for the temporary XML generator.
> >
> > However, when I do send the PDF back to the user, I have only been able
to
> > send it as an attachment (the Acrobat opens in a separate window).  When
I
> > try "inline" the PDF opens in the IE, but reports errors.  Maybe anybody
> > else would like to comment, who had a solution to the inline problem?
> >
> > best of luck,
> > Amrinder
> >
> > ----- Original Message -----
> > From: <mi...@ps.ge.com>
> > To: <st...@jakarta.apache.org>
> > Sent: Tuesday, April 08, 2003 6:02 PM
> > Subject: PDF generator
> >
> >
> >
> >>Hello,
> >>
> >>would anyone recommend me any PDF generator? pls
> >>
> >>I need generate PDF from Action class.
> >>
> >>tnx
> >>
> >>Best Regards.
> >>Michael.
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

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


Re: PDF generator . setContentLength in IE

Posted by Daniel Jaffa <ja...@courtinnovation.org>.
I pay for mine with xmlmill
----- Original Message -----
From: "Jagdish Arora" <ja...@hotmail.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Tuesday, April 08, 2003 7:15 PM
Subject: Re: PDF generator . setContentLength in IE


>
> Hi Tim,
>
> Thanks for the input.  Yes, I do use setContentLength, however it does not
> fix the problem.  Actually without using that even the attachment
sometimes
> gives problems
>
> Amrinder
>
> ----- Original Message -----
> From: "Tim Shadel" <ti...@zserve.com>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Tuesday, April 08, 2003 6:22 PM
> Subject: Re: PDF generator
>
>
> > Do you send the PDF back from your action?  Do you call
> > setContentLength()?  It's been a while, but I think I had a PDF problem
> > with similar symptoms.  Figuring out a way to set the response's content
> > length fixed it for me.
> >
> > Tim
> >
> > Jagdish Arora wrote:
> > > *This message was transferred with a trial version of CommuniGate(tm)
> Pro*
> > > Micheal,
> > >
> > > I use XSL FO, and it works just fine for me.  I create an intermediate
> XML
> > > from my model, and apply the XSL to it, code is probably 5 lines long
> for
> > > the transformer, and about 20 lines for the temporary XML generator.
> > >
> > > However, when I do send the PDF back to the user, I have only been
able
> to
> > > send it as an attachment (the Acrobat opens in a separate window).
When
> I
> > > try "inline" the PDF opens in the IE, but reports errors.  Maybe
anybody
> > > else would like to comment, who had a solution to the inline problem?
> > >
> > > best of luck,
> > > Amrinder
> > >
> > > ----- Original Message -----
> > > From: <mi...@ps.ge.com>
> > > To: <st...@jakarta.apache.org>
> > > Sent: Tuesday, April 08, 2003 6:02 PM
> > > Subject: PDF generator
> > >
> > >
> > >
> > >>Hello,
> > >>
> > >>would anyone recommend me any PDF generator? pls
> > >>
> > >>I need generate PDF from Action class.
> > >>
> > >>tnx
> > >>
> > >>Best Regards.
> > >>Michael.
> > >>
> > >>
> > >>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > >>For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >>
> > >>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


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