xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi4988 <edi4...@gmail.com>
Subject Re: 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?
Date Thu, 27 Mar 2014 16:58:41 GMT
You were right,

But by example if I have my files in this url :
http://localhost:8080/XML/SIICG.xml and I provide this url in the source
code  I have a mistake "java.io.FileNotFoundException".

Do you know why when I provide the url I have this error?

Thanx.


2014-03-27 3:22 GMT-06:00 Luis Bernardo [via Apache FOP] <
ml-node+s1065347n40355h80@n5.nabble.com>:

> As I mentioned, you need to provide the full path of the files with the
> example servlet provided, and then the files can be anywhere. If you just
> provide the file name it is likely that will just look under bin. But you
> can change the servlet to look in whatever folder you want.
>
> On 3/27/14, 4:06 AM, edi4988 wrote:
>
> Do you know other way or other example where files can be in other folder
> different to "bin"? because if I have the xml and xslt files in other
> folder different to "bin" I have a error.
>
>
> 2014-03-26 16:56 GMT-06:00 Luis Bernardo [via Apache FOP] <[hidden email]<http://user/SendEmail.jtp?type=node&node=40353&i=0>
> >:
>
>
>> 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: [hidden email]<http://user/SendEmail.jtp?type=node&node=40350&i=0>
>> > For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=40350&i=1>
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=40350&i=2>
>> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=40350&i=3>
>>
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> 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-tp40348p40350.html
>>  To unsubscribe from 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?, click here.
>> NAML<http://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: 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?<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-tp40348p40353.html>
>
> Sent from the FOP - Users mailing list archive<http://apache-fop.1065347.n5.nabble.com/FOP-Users-f3.html>at
Nabble.com.
>
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> 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-tp40348p40355.html
>  To unsubscribe from 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?, click here<http://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=40348&code=ZWRpNDk4OEBnbWFpbC5jb218NDAzNDh8LTExNjM0MTczMg==>
> .
> NAML<http://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
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-tp40348p40362.html
Sent from the FOP - Users mailing list archive at Nabble.com.
Mime
View raw message