You generate the PDF using FOP and attach to the request or session the forward to a JSP or Servlet that will serve the contect with the correct type etc.
-----Original Message----- From: Vikram Goyal [mailto:[EMAIL PROTECTED]] Sent: 21 November, 2002 14:01 To: Struts Users Mailing List Subject: Re: Question About Modules We used FOP to generate dynamic pdf through the action. The action itself returned null. Vikram ----- Original Message ----- From: "Madel,Kurt" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, November 21, 2002 5:46 AM Subject: RE: Question About Modules > Anyone using modules and going through an action to generate dynamic > database driven pdf's??? Anyone ..... > > Kurt Madel > Programmer, CSMi > (703) 823-4300 ext. 170 > > > -----Original Message----- > From: Madel,Kurt [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 20, 2002 11:27 AM > To: 'Struts Users Mailing List' > Subject: Question About Modules > > My understanding is that you have to use an extension mapping in order to > use the Module functionality, i.e. '*.do' > > What are people doing if they need to serve say a '.pdf' from an action? > That is, my pdf is dynamic and requires the use of the same DAO's that I use > for my jsp pages. Sure you can set the mime type, but Internet Explorer > ignores these most of the time and counts on the extension. If you map > *.pdf and *.do then you won't be able to server static pdf's??? > > Kurt Madel > Programmer, CSMi > (703) 823-4300 ext. 170 > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official business of Standard Bank Group Limited is proprietary to the company. It is confidential, legally privileged and protected by law. Standard Bank does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Standard Bank. The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way. Standard Bank can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. ______________________________________________ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>