RE: Help - xml to pdf using struts
Mark, I have tested this out on 5.0, 5.01, 5.5, 6.0.26 and have not encountered any problem with the page being displayed, what release of IE are you using? I have attached a small servlet which will render a page straight to the browser, at least under those listed above. Hope it helps. Regards, Todd G. Nist --- Servlet import javax.servlet.*; import javax.servlet.http.*; import java.io.ByteArrayOutputStream; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import org.apache.avalon.framework.logger.ConsoleLogger; import org.apache.avalon.framework.logger.Logger; import org.xml.sax.InputSource; import org.xml.sax.XMLReader; import org.apache.fop.apps.Driver; import org.apache.fop.apps.Version; import org.apache.fop.apps.XSLTInputHandler; import org.apache.fop.apps.FOPException; import org.apache.fop.messaging.MessageHandler; import javax.xml.transform.*; import javax.xml.transform.stream.*; public class GeneratePDF extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doPost(request, response); } public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String xslPath = ./; String xmlFile = pdfxml.xml; // your file name here String xslFile = pdfxsl.xsl; // your file name here Logger log = null; try { // Initialize Logger log = new ConsoleLogger(ConsoleLogger.LEVEL_WARN); MessageHandler.setScreenLogger(log); // Initialier Input Handler XSLTInputHandler input = new XSLTInputHandler(new File(xmlFile), new File(xslFile)); ByteArrayOutputStream out = new ByteArrayOutputStream(); Driver driver = new Driver(); driver.setLogger(log); driver.setRenderer(Driver.RENDER_PDF); driver.setOutputStream(out); driver.render(input.getParser(), input.getInputSource()); // write the result out to the page byte[] content = out.toByteArray(); response.setContentType( application/pdf ); // // Content-disposition header - don't open in browser and // set the Save As... filename. // *There is reportedly a bug in IE4.0 which ignores this... // //response.setHeader(Content-disposition, attachment; filename= + example.pdf); response.setContentLength(content.length); response.getOutputStream().write(content); response.getOutputStream().flush(); } catch (IOException e) { log.error(IOException caught while creating pdf using + xslPath, e); throw new ServletException(IOException caught while creating pdf , e); } catch (IllegalArgumentException e) { log.error(IllegalArgumentException caught while creating pdf using + xslPath, e); throw new ServletException(IllegalArgumentException caught while creating pdf , e); } catch (FOPException e) { log.error(FOPException caught while creating pdf using + xslPath, e); throw new ServletException(FOPException caught while creating pdf , e); } } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 10:14 AM To: [EMAIL PROTECTED] Subject: RE: Help - xml to pdf using struts Yes. The problem with IE is that it doesn't show the file and you get a blank page. This note at the fop site says: Some browsers have problems handling the PDF result sent back to the browser. IE is particularly bad and different versions behave differently. Having a .pdf on the end of the url may help. http://xml.apache.org/fop/embedding.html -Original Message- From: Todd G. Nist [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 1:34 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts RE: Help - xml to pdf using strutsMike, Did you set the content type to application/pdf and then return null from you action once you successfully completed the transformation? That is what we do and it appears to work fine. Regards, Todd G. Nist try { // FO/Transformation code here ByteArrayOutputStream pdf = new ByteArrayOutputStream(); // show PDF response.setContentType(application/pdf); byte[] content = pdf.toByteArray(); response.setContentLength(content.length); response.getOutputStream().write(content); response.getOutputStream().flush
RE: Help - xml to pdf using struts
Yes. The problem with IE is that it doesn't show the file and you get a blank page. This note at the fop site says: Some browsers have problems handling the PDF result sent back to the browser. IE is particularly bad and different versions behave differently. Having a .pdf on the end of the url may help. http://xml.apache.org/fop/embedding.html -Original Message- From: Todd G. Nist [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 1:34 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts RE: Help - xml to pdf using strutsMike, Did you set the content type to application/pdf and then return null from you action once you successfully completed the transformation? That is what we do and it appears to work fine. Regards, Todd G. Nist try { // FO/Transformation code here ByteArrayOutputStream pdf = new ByteArrayOutputStream(); // show PDF response.setContentType(application/pdf); byte[] content = pdf.toByteArray(); response.setContentLength(content.length); response.getOutputStream().write(content); response.getOutputStream().flush(); } // return null from action return null; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 11:43 AM To: [EMAIL PROTECTED] Subject: RE: Help - xml to pdf using struts Hi Lisa, That looks similar to my solution. The biggest problem I had was with getting IE to display the PDF inline without a PDF in the URL Using a Struts action, I wasn't able to get the URL to change at the appropriate time with a redirect. In the end, I sent the pdf as an attachment which gives the open/save prompt. Were you able to get around this problem? Thanks, Mike -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 4:52 AM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Here is the bit of my action that deals with the pdf creation. First I transform xml to fo using xsl (and Xalan). The result is written to an InputSteam, which is passed into FOP. The result from FOP is then written out the client and the content type is set to application/pdf. HTH Lisa -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 09:37 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Lisa, That sounds can you provide an example action please. -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 6:01 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts I do the xml - fo - pdf transformation in an Action, and then stream the result straight back to the browser. Lisa -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 09:28 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Thanks for getting back to me. I appreciate that I have to have xsl:fo to transform the xml, but how best to render this using jsp??? Or do I need a servlet??? -Original Message- From: David WIlkinson [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 5:57 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts We had to address a similar issue of creating pdf's from xml and found that it can be done in a simple way using xsl:fo to transform the xml. Check out http://xml.apache.org/fop/index.html for more info. -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 08: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:[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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
RE: Help - xml to pdf using struts
Title: RE: Help - xml to pdf using struts Hi Lisa, That looks similar to my solution. The biggest problem I had was with getting IE to display the PDF inline without a PDF in the URL Using a Struts action, I wasn't able to get the URL to change at the appropriate time with a redirect. In the end, I sent the pdf as an attachment which gives the open/save prompt. Were you able to get around this problem? Thanks, Mike -Original Message-From: Lisa van Gelder [mailto:[EMAIL PROTECTED]]Sent: Thursday, August 15, 2002 4:52 AMTo: 'Struts Users Mailing List'Subject: RE: Help - xml to pdf using struts Here is the bit of my action that deals with the pdf creation. First I transform xml to fo using xsl (and Xalan). The result is written to an InputSteam, which is passed into FOP. The result from FOP is then written out the client and the content type is set to "application/pdf". HTH Lisa -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 09:37 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Lisa, That sounds can you provide an example action please. -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 6:01 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts I do the xml - fo - pdf transformation in an Action, and then stream the result straight back to the browser. Lisa -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 09:28 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Thanks for getting back to me. I appreciate that I have to have xsl:fo to transform the xml, but how best to render this using jsp??? Or do I need a servlet??? -Original Message- From: David WIlkinson [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 5:57 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts We had to address a similar issue of creating pdf's from xml and found that it can be done in a simple way using xsl:fo to transform the xml. Check out http://xml.apache.org/fop/index.html for more info. -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 08: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:[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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Help - xml to pdf using struts
Sun Servlet Forum (Victor's code worked for me, without the open/save prompt occuring): http://forum.java.sun.com/thread.jsp?forum=33 http://forum.java.sun.com/thread.jsp?forum=33thread=270415 thread=270415 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 11:43 AM To: [EMAIL PROTECTED] Subject: RE: Help - xml to pdf using struts Hi Lisa, That looks similar to my solution. The biggest problem I had was with getting IE to display the PDF inline without a PDF in the URL Using a Struts action, I wasn't able to get the URL to change at the appropriate time with a redirect. In the end, I sent the pdf as an attachment which gives the open/save prompt. Were you able to get around this problem? Thanks, Mike -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 4:52 AM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Here is the bit of my action that deals with the pdf creation. First I transform xml to fo using xsl (and Xalan). The result is written to an InputSteam, which is passed into FOP. The result from FOP is then written out the client and the content type is set to application/pdf. HTH Lisa -Original Message- From: Zimmer, Robin (SSABSA) [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 15 August 2002 09:37 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Lisa, That sounds can you provide an example action please. -Original Message- From: Lisa van Gelder [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, 15 August 2002 6:01 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts I do the xml - fo - pdf transformation in an Action, and then stream the result straight back to the browser. Lisa -Original Message- From: Zimmer, Robin (SSABSA) [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 15 August 2002 09:28 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Thanks for getting back to me. I appreciate that I have to have xsl:fo to transform the xml, but how best to render this using jsp??? Or do I need a servlet??? -Original Message- From: David WIlkinson [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, 15 August 2002 5:57 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts We had to address a similar issue of creating pdf's from xml and found that it can be done in a simple way using xsl:fo to transform the xml. Check out http://xml.apache.org/fop/index.html http://xml.apache.org/fop/index.html for more info. -Original Message- From: Zimmer, Robin (SSABSA) [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 15 August 2002 08: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] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Help - xml to pdf using struts
RE: Help - xml to pdf using strutsMike, Did you set the content type to application/pdf and then return null from you action once you successfully completed the transformation? That is what we do and it appears to work fine. Regards, Todd G. Nist try { // FO/Transformation code here ByteArrayOutputStream pdf = new ByteArrayOutputStream(); // show PDF response.setContentType(application/pdf); byte[] content = pdf.toByteArray(); response.setContentLength(content.length); response.getOutputStream().write(content); response.getOutputStream().flush(); } // return null from action return null; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 11:43 AM To: [EMAIL PROTECTED] Subject: RE: Help - xml to pdf using struts Hi Lisa, That looks similar to my solution. The biggest problem I had was with getting IE to display the PDF inline without a PDF in the URL Using a Struts action, I wasn't able to get the URL to change at the appropriate time with a redirect. In the end, I sent the pdf as an attachment which gives the open/save prompt. Were you able to get around this problem? Thanks, Mike -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 4:52 AM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Here is the bit of my action that deals with the pdf creation. First I transform xml to fo using xsl (and Xalan). The result is written to an InputSteam, which is passed into FOP. The result from FOP is then written out the client and the content type is set to application/pdf. HTH Lisa -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 09:37 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Lisa, That sounds can you provide an example action please. -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 6:01 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts I do the xml - fo - pdf transformation in an Action, and then stream the result straight back to the browser. Lisa -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 09:28 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Thanks for getting back to me. I appreciate that I have to have xsl:fo to transform the xml, but how best to render this using jsp??? Or do I need a servlet??? -Original Message- From: David WIlkinson [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 5:57 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts We had to address a similar issue of creating pdf's from xml and found that it can be done in a simple way using xsl:fo to transform the xml. Check out http://xml.apache.org/fop/index.html for more info. -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 08: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:[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] begin 666 ATT00066.htm M/%$3T-465!%($A434P@4%53$E#((M+R]7,T,O+T141!(5$U,(#0N,!4 MF%NVET:6]N86PO+T5.(CX-CQ(5$U,/CQ(14%$/@T*/$U%5$$@2%144U% M455)5CTB0V]N=5N=U47!E(B!#3TY414Y4/2)T97AT+VAT;6P[(-H87)S M970]:7-O+3@X-3DM,2(^#0H\5$E43$4^4D4Z($AE;' @+2!X;6P@=\@1F M('5S:6YG('-TG5TSPO5$E43$4^#0H-CQ-151!(-O;G1E;G0](DU32%1- M3 U+C4P+C0Y,3(N,S P(B!N86UE/4=%3D52051/4CX\+TA%040^#0H\0D]$ M63X-CQ$258^/%-004X@8VQAW,],34Q-3,R,S$W+3$V,#@R,# R/CQ3TY4 M(9A8V4]07)I86P@8V]L;W(](S P,#!F9B -G-IF4],CY-:6ME+#PO1D]. M5#X\+U-004X^/]$258^#0H\1$E6/CQ34$%.(-L87-S/3$U,34S,C,Q-RTQ M-C X,C P,CX\1D].5!F86-E/4%R:6%L(-O;]R/2,P
RE: Help - xml to pdf using struts
Hi Mike I originally sent the pdf as an attachment as well, but found that if the user clicked save instead of open the pdf wasn't saved correctly and couldn't be opened. If the pdf was opened straight away and then saved it saved fine. Does your implementation not have this problem? I would be interested to see how you are doing it. :) I haven't had a problem with IE opening the pdf file even though the url doesn't have a .pdf on the end. It opens fine in the browser window. Netscape still prompts you to choose open or save but when you save straight away from Netscape it works fine. (Netscape worked fine the other way too.) Oh, and I return null from my action just like Todd suggests. Lisa -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 16 August 2002 16:43 To: [EMAIL PROTECTED] Subject: RE: Help - xml to pdf using struts Hi Lisa, That looks similar to my solution. The biggest problem I had was with getting IE to display the PDF inline without a PDF in the URL Using a Struts action, I wasn't able to get the URL to change at the appropriate time with a redirect. In the end, I sent the pdf as an attachment which gives the open/save prompt. Were you able to get around this problem? Thanks, Mike -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 4:52 AM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Here is the bit of my action that deals with the pdf creation. First I transform xml to fo using xsl (and Xalan). The result is written to an InputSteam, which is passed into FOP. The result from FOP is then written out the client and the content type is set to application/pdf. HTH Lisa -Original Message- From: Zimmer, Robin (SSABSA) [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 15 August 2002 09:37 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Lisa, That sounds can you provide an example action please. -Original Message- From: Lisa van Gelder [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, 15 August 2002 6:01 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts I do the xml - fo - pdf transformation in an Action, and then stream the result straight back to the browser. Lisa -Original Message- From: Zimmer, Robin (SSABSA) [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 15 August 2002 09:28 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Thanks for getting back to me. I appreciate that I have to have xsl:fo to transform the xml, but how best to render this using jsp??? Or do I need a servlet??? -Original Message- From: David WIlkinson [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, 15 August 2002 5:57 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts We had to address a similar issue of creating pdf's from xml and found that it can be done in a simple way using xsl:fo to transform the xml. Check out http://xml.apache.org/fop/index.html http://xml.apache.org/fop/index.html for more info. -Original Message- From: Zimmer, Robin (SSABSA) [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 15 August 2002 08: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] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Re: Help - xml to pdf using struts
Consider Jasper on Sourceforge.net Ampie Barnard wrote: 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:[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]
RE: Help - xml to pdf using struts
The error I'm talking about only happens in IE ... so if you have users who might be using IE, I'd suggest you check it out a little more (There's some information about this on the FOP site). On the other hand, I had no problem saving the PDF as a file from the open/save dialog. Mike -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 12:32 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Hi Mike I originally sent the pdf as an attachment as well, but found that if the user clicked save instead of open the pdf wasn't saved correctly and couldn't be opened. If the pdf was opened straight away and then saved it saved fine. Does your implementation not have this problem? I would be interested to see how you are doing it. :) I haven't had a problem with IE opening the pdf file even though the url doesn't have a .pdf on the end. It opens fine in the browser window. Netscape still prompts you to choose open or save but when you save straight away from Netscape it works fine. (Netscape worked fine the other way too.) Oh, and I return null from my action just like Todd suggests. Lisa -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 16 August 2002 16:43 To: [EMAIL PROTECTED] Subject: RE: Help - xml to pdf using struts Hi Lisa, That looks similar to my solution. The biggest problem I had was with getting IE to display the PDF inline without a PDF in the URL Using a Struts action, I wasn't able to get the URL to change at the appropriate time with a redirect. In the end, I sent the pdf as an attachment which gives the open/save prompt. Were you able to get around this problem? Thanks, Mike -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 4:52 AM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Here is the bit of my action that deals with the pdf creation. First I transform xml to fo using xsl (and Xalan). The result is written to an InputSteam, which is passed into FOP. The result from FOP is then written out the client and the content type is set to application/pdf. HTH Lisa -Original Message- From: Zimmer, Robin (SSABSA) [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 15 August 2002 09:37 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Lisa, That sounds can you provide an example action please. -Original Message- From: Lisa van Gelder [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, 15 August 2002 6:01 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts I do the xml - fo - pdf transformation in an Action, and then stream the result straight back to the browser. Lisa -Original Message- From: Zimmer, Robin (SSABSA) [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 15 August 2002 09:28 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Thanks for getting back to me. I appreciate that I have to have xsl:fo to transform the xml, but how best to render this using jsp??? Or do I need a servlet??? -Original Message- From: David WIlkinson [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, 15 August 2002 5:57 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts We had to address a similar issue of creating pdf's from xml and found that it can be done in a simple way using xsl:fo to transform the xml. Check out http://xml.apache.org/fop/index.html http://xml.apache.org/fop/index.html for more info. -Original Message- From: Zimmer, Robin (SSABSA) [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 15 August 2002 08: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] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL
RE: Help - xml to pdf using struts
We had to address a similar issue of creating pdf's from xml and found that it can be done in a simple way using xsl:fo to transform the xml. Check out http://xml.apache.org/fop/index.html for more info. -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 08: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:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Help - xml to pdf using struts
I have used fop (http://xml.apache.org/fop/) to create PDF. The fop distribution contains an example servlet that delivers PDF to a browswer, its fairly easy to adapt that servlet to be an action class. I guess the XML to fo is best done with XSLT but we crated to fo part directly so we did not have to do that transformation. Regards 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. === Skickat genom Swedish Connection WebMail === -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Help - xml to pdf using struts
I do the xml - fo - pdf transformation in an Action, and then stream the result straight back to the browser. Lisa -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 09:28 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Thanks for getting back to me. I appreciate that I have to have xsl:fo to transform the xml, but how best to render this using jsp??? Or do I need a servlet??? -Original Message- From: David WIlkinson [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 5:57 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts We had to address a similar issue of creating pdf's from xml and found that it can be done in a simple way using xsl:fo to transform the xml. Check out http://xml.apache.org/fop/index.html for more info. -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 08: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:[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]
RE: Help - xml to pdf using struts
Lisa, That sounds can you provide an example action please. -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 6:01 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts I do the xml - fo - pdf transformation in an Action, and then stream the result straight back to the browser. Lisa -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 09:28 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Thanks for getting back to me. I appreciate that I have to have xsl:fo to transform the xml, but how best to render this using jsp??? Or do I need a servlet??? -Original Message- From: David WIlkinson [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 5:57 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts We had to address a similar issue of creating pdf's from xml and found that it can be done in a simple way using xsl:fo to transform the xml. Check out http://xml.apache.org/fop/index.html for more info. -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 08: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:[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]
RE: Help - xml to pdf using struts
Title: RE: Help - xml to pdf using struts Here is the bit of my action that deals with the pdf creation. First I transform xml to fo using xsl (and Xalan). The result is written to an InputSteam, which is passed into FOP. The result from FOP is then written out the client and the content type is set to application/pdf. HTH Lisa -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 09:37 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Lisa, That sounds can you provide an example action please. -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 6:01 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts I do the xml - fo - pdf transformation in an Action, and then stream the result straight back to the browser. Lisa -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 09:28 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Thanks for getting back to me. I appreciate that I have to have xsl:fo to transform the xml, but how best to render this using jsp??? Or do I need a servlet??? -Original Message- From: David WIlkinson [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 5:57 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts We had to address a similar issue of creating pdf's from xml and found that it can be done in a simple way using xsl:fo to transform the xml. Check out http://xml.apache.org/fop/index.html for more info. -Original Message- From: Zimmer, Robin (SSABSA) [mailto:[EMAIL PROTECTED]] Sent: 15 August 2002 08: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:[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] public void createPDF(XMLDocument doc, HttpServletResponse response, String tomcatHome) throws ServletException { // set up the stream result Document xmlSrc = doc.getDOM(); Logger log = null; String xslPath = tomcatHome + /webapps/mytool/xsl/reportgen-pdf.xsl; StreamResult streamResult = new javax.xml.transform.stream.StreamResult(); ByteArrayOutputStream strToWrite = new ByteArrayOutputStream(); streamResult.setOutputStream((ByteArrayOutputStream)strToWrite); try { // transform the xml into FO javax.xml.transform.TransformerFactory tFactory = javax.xml.transform.TransformerFactory.newInstance(); javax.xml.transform.Transformer transformer = tFactory.newTransformer (new javax.xml.transform.stream.StreamSource(xslPath)); transformer.transform (new javax.xml.transform.dom.DOMSource(xmlSrc), streamResult); // get the FO and turn it into an input stream if(log == null) { log = new ConsoleLogger(ConsoleLogger.LEVEL_WARN); MessageHandler.setScreenLogger(log); } ByteArrayOutputStream bos1 = (ByteArrayOutputStream)streamResult.getOutputStream(); InputStream is = new ByteArrayInputStream( bos1.toByteArray()); ByteArrayOutputStream out = new ByteArrayOutputStream(); response.setContentType(application/pdf); // convert the FO into pdf Driver driver = new Driver( new InputSource( is ), out ); driver.setLogger(log); driver.setRenderer(Driver.RENDER_PDF); driver.run(); // write the result out to the page byte[] content = out.toByteArray(); response.setContentLength(content.length); response.getOutputStream().write(content); response.getOutputStream().flush(); } catch (TransformerFactoryConfigurationError e
RE: Help - xml to pdf using struts
Thank you. -Original Message- From: Lisa van Gelder [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 August 2002 6:22 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Here is the bit of my action that deals with the pdf creation. First I transform xml to fo using xsl (and Xalan). The result is written to an InputSteam, which is passed into FOP. The result from FOP is then written out the client and the content type is set to application/pdf. HTH Lisa -Original Message- From: Zimmer, Robin (SSABSA) [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 15 August 2002 09:37 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Lisa, That sounds can you provide an example action please. -Original Message- From: Lisa van Gelder [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, 15 August 2002 6:01 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts I do the xml - fo - pdf transformation in an Action, and then stream the result straight back to the browser. Lisa -Original Message- From: Zimmer, Robin (SSABSA) [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 15 August 2002 09:28 To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts Thanks for getting back to me. I appreciate that I have to have xsl:fo to transform the xml, but how best to render this using jsp??? Or do I need a servlet??? -Original Message- From: David WIlkinson [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, 15 August 2002 5:57 PM To: 'Struts Users Mailing List' Subject: RE: Help - xml to pdf using struts We had to address a similar issue of creating pdf's from xml and found that it can be done in a simple way using xsl:fo to transform the xml. Check out http://xml.apache.org/fop/index.html http://xml.apache.org/fop/index.html for more info. -Original Message- From: Zimmer, Robin (SSABSA) [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: 15 August 2002 08: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] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
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:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Help - xml to pdf using struts
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]