I wrote a filter to do that a while back if you are interested in the
source code, email me directly.  Note: it was done as an experiment
which worked for me, so the source not completely documented.

-Jake

| -----Original Message-----
| From: Ampie Barnard [mailto:[EMAIL PROTECTED]]
| Sent: Saturday, August 17, 2002 1:43 PM
| To: Struts Users Mailing List
| Subject: RE: Help - xml to pdf using struts
| 
| Just an idea...
| 
| You could also consider setting up a filter (Servlets 2.3) that
intercepts
| the reporting requests. It can then allow your reporting page to
generate
| the xml. The filter can decide whether to use xsl/fo or xsl/html, by
| simply
| mapping the request uri to the correct xsl template.
| 
| Regards
| 
| Ampie
| 
| -----Original Message-----
| From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]]
| Sent: 15 August 2002 12:13
| To: '[EMAIL PROTECTED]'
| Subject: Help - xml to pdf using struts
| 
| 
| I am in the last stages of implementating a Struts application. I now
have
| to complete the reporting side. This basically consists of displaying
xml
| output as HTML or PDF. I have the HTML side covered (I am using
jakarta
| XTags) but how do I render an xml to fo transformation to pdf by using
| struts. I am aware of stxx but as far as I can see you have to
override
| the
| actionservlet etc and this seems an overhead for what is a small part
of
| the
| app. Can anyone please give some suggestions.
| 
| --
| To unsubscribe, e-mail:
| <mailto:[EMAIL PROTECTED]>
| For additional commands, e-mail:
| <mailto:[EMAIL PROTECTED]>
| 
| 
| --
| To unsubscribe, e-mail:   <mailto:struts-user-
| [EMAIL PROTECTED]>
| For additional commands, e-mail: <mailto:struts-user-
| [EMAIL PROTECTED]>
| 
| ---
| Incoming mail is certified Virus Free.
| Checked by AVG anti-virus system (http://www.grisoft.com).
| Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
| 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to