Re: FopServlet example!

2003-02-12 Thread Ken Masters
-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: FopServlet example! Date: Tue, 11 Feb 2003 23:44:50 +0100 Ken Masters wrote: I am new to Apache FOP, and am finding a little problem with what I'm doing. The XSLTInputHandler class has two parameters, the XML and XSL File's. Basically what I

Re: FopServlet example!

2003-02-12 Thread Ken Masters
Hi, Ive attached the Java class, (and included it at the bottom incase attachment fails to send). There are two methods, and they both require the HttpServletResponse. It provides options for either sending it the XML and XSL as files or strings. Ensure that you have copied the following jar

RE: FopServlet example!

2003-02-11 Thread Mark C. Allman
Write your own InputHandler to do what you need. Then do the usual driver.render() call: Driver driver = new Driver(); InputHandler inputHandler = new MyCustomInputHandler(..whatever your InputHandler needs..); driver.setOutputStream(..wherever you want the output to go..);

Re: FopServlet example!

2003-02-11 Thread J.Pietschmann
Ken Masters wrote: I am new to Apache FOP, and am finding a little problem with what I'm doing. The XSLTInputHandler class has two parameters, the XML and XSL File's. Basically what I would like to do is pass an XML as a Java String (since it is dynamically created) and the XSL can be passed

Re: FopServlet

2002-06-16 Thread J.Pietschmann
Nirupama Yalavarti wrote: I could do that..THE file is being saved in jtomcat/bin Is there any way to change that location? may be to jtomcat/webapps/deployment directory ? Thousands of possibilities. Hardcode FileOutputStream fos=new FileOutputStream(../webapps/whatever/test12.pdf); or

Re: FopServlet

2002-06-15 Thread J.Pietschmann
Nirupama Yalavarti wrote: But I have programmed that the pdf is saved to specific file(that is the way I want it) ie teh pdf generated be saved as a specific file in the server. But that doesnt seem to happen.I was expecting it to be saved in tomcat/bin. Any idea of setting something else

Re: FopServlet

2002-06-15 Thread Nirupama Yalavarti
--- J.Pietschmann [EMAIL PROTECTED] wrote: Nirupama Yalavarti wrote: But I have programmed that the pdf is saved to specific file(that is the way I want it) ie teh pdf generated be saved as a specific file in the server. But that doesnt seem to happen.I was expecting it to be saved

Re: FopServlet

2002-06-14 Thread Holger Prause
- Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 14, 2002 1:47 AM Subject: Re: FopServlet Nirupama Yalavarti wrote: Thats a great anwere...THE servlet seems to ahve run correctly( In fact it didnt show me any error..) But where

Re: FopServlet

2002-06-14 Thread Nirupama Yalavarti
--- Holger Prause [EMAIL PROTECTED] wrote: - Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 14, 2002 1:47 AM Subject: Re: FopServlet Nirupama Yalavarti wrote: Thats a great anwere...THE servlet seems to ahve run

Re: FopServlet

2002-06-13 Thread J.Pietschmann
Nirupama Yalavarti wrote: Hi all... I am damn new to Tomcat and Fop.Ive been trying to sue Fop thru a servlet and was using the example FopServlet of the examples/embedding. That minimal thing itself doesnt seemt ot work and it geives me errors.. Can anyone help me out... It gives me the

Re: FopServlet

2002-06-13 Thread Nirupama Yalavarti
Thats a great anwere...THE servlet seems to ahve run correctly( In fact it didnt show me any error..) But where can I find the produced pdf? any idea? --- J.Pietschmann [EMAIL PROTECTED] wrote: Nirupama Yalavarti wrote: Hi all... I am damn new to Tomcat and Fop.Ive been trying to sue

Re: FopServlet

2002-06-13 Thread J.Pietschmann
Nirupama Yalavarti wrote: Thats a great anwere...THE servlet seems to ahve run correctly( In fact it didnt show me any error..) But where can I find the produced pdf? any idea? In your browser? Look into the browser cache first. IEx is a bit fragile when it comes to showing PDF. Configure

Re: FopServlet

2002-06-13 Thread Nirupama Yalavarti
Yes! I noticed that..because that was working fine with netscape. and should work now with IEx too. But I have programmed that the pdf is saved to specific file(that is the way I want it) ie teh pdf generated be saved as a specific file in the server. But that doesnt seem to happen.I was

RE: FopServlet error

2002-03-05 Thread Carlos Daniel Schafer
Hi You have look the file web.xml into fop.war is configured for other Tomcat, I think so Tomcat 3.0, may be and your Tomcat is diferent. Today, I take this same problem. I sorry, my English is very bad, may be Indian. I'm the Argentina, Buenos Aires. -Mensaje original- De:

Re: FopServlet error

2002-03-05 Thread david
/url-pattern /servlet-mapping /web-app :) - Original Message - From: Carlos Daniel Schafer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 05, 2002 3:08 PM Subject: RE: FopServlet error Hi You have look the file web.xml into fop.war is configured for other Tomcat, I think

RE: FopServlet

2002-03-04 Thread Volker [EMAIL PROTECTED]
It looks as if your tomcat installation does not pick up Xalan.jar. You have to put all FOP jars (fop.jar, batik.jar etc.) into yourwebapp/WEB-INF/lib/ directory. Hope this helps Volker -Original Message- From: Deb Schmutz [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 2:17 AM

Re: FopServlet

2002-03-04 Thread Karen Lease
Deb, Which version of tomcat are you using? Especially with Tomcat 3.x I've seen lots of classloader problems. Can you find out which jars are being used by tomcat (in its lib or maybe lib/ext directory)? Look out for jaxp.jar or perhaps a version of xerces at that level which would be pulling