-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
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
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..);
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
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
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
--- 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
- 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
--- 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
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
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
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
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
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:
/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
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
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
17 matches
Mail list logo