See http://xmlgraphics.apache.org/fop/trunk/servlets.html.
With the example servlet provided by FOP you need to specify the full path of your files (that is /path/to/my/file.fo).
On 3/26/14, 9:02 PM, edi4988 wrote:
Hi everyone, why the xml and xsl files have to be in the bin folder of tomcat when I generate a application web for that the application works? I have a web application to create rtf and pdf files with a Servlet. I need to have my xml file and xsl file in in the bin folder of tomcat to that my application works, but if I have the files in other different folder the application dosen't work. I use the example on this page : http://svn.apache.org/viewvc/xmlgraphics/fop/tags/fop-1_1/src/java/org/apache/fop/servlet/FopServlet.java?view=log what can i do for that the xml and xsl files can to be in other folder different to bin? By example in a folder from my web application. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/why-the-xml-and-xsl-files-have-to-be-in-the-bin-folder-of-tomcat-when-I-generate-a-application-web-f-tp40348.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org