As explained in http://xmlgraphics.apache.org/fop/trunk/servlets.html, if you use the sample servlet then you should access it as in

 *

   
http://localhost:8080/fop/fop?xml=/home/path/to/xmlfile.xml&xsl=/home/path/to/xslfile.xsl

Are you doing that? Can you provide the URL you use?

On 4/3/14, 10:13 PM, edi4988 wrote:
I have my xslt and xml files in my Tomcat Server, but when I try to use this files by example in the path http://localhost:8080/XML/SIICG.xml the application doesn't work. But if I have the files by example in c:/xml/SIICG.xml the application works fine.

Do you know any idea what am i doing wrong?

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

Thanx


2014-04-03 12:00 GMT-06:00 rsargent [via Apache FOP] <[hidden email] </user/SendEmail.jtp?type=node&node=40425&i=0>>:

    Move them to the app root?

    On 04/03/2014 11:57 AM, edi4988 wrote:
    Do you know what can I do if my files have this path
    http://localhost:8080/XML/SIICG.xml
      ?

    Thanx



    --
    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-tp40348p40422.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=40423&i=0> For
    additional commands, e-mail: [hidden email]
    <http://user/SendEmail.jtp?type=node&node=40423&i=1>



    ------------------------------------------------------------------------
    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-tp40348p40423.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-tp40348p40425.html> Sent from the FOP - Users mailing list archive <http://apache-fop.1065347.n5.nabble.com/FOP-Users-f3.html> at Nabble.com.

Reply via email to