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?

2014-04-07 Thread edi4988
Thank you for the replies, I solved the problem.


2014-04-03 16:32 GMT-06:00 Luis Bernardo [via Apache FOP] 
ml-node+s1065347n40427...@n5.nabble.com:


 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.xmlxsl=/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]http://user/SendEmail.jtp?type=nodenode=40425i=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=nodenode=40423i=0
 For additional commands, e-mail: [hidden email] 
 http://user/SendEmail.jtp?type=nodenode=40423i=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.
 NAMLhttp://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=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 
 archivehttp://apache-fop.1065347.n5.nabble.com/FOP-Users-f3.htmlat 
 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-tp40348p40427.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 
 herehttp://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=40348code=ZWRpNDk4OEBnbWFpbC5jb218NDAzNDh8LTExNjM0MTczMg==
 .
 NAMLhttp://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=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-tp40348p40454.html
Sent from the FOP - Users mailing list archive at Nabble.com.

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?

2014-04-07 Thread Glenn Adams
Since you reported a problem, how about reporting your fix?


On Mon, Apr 7, 2014 at 4:11 PM, edi4988 edi4...@gmail.com wrote:

 Thank you for the replies, I solved the problem.


 2014-04-03 16:32 GMT-06:00 Luis Bernardo [via Apache FOP] [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=40454i=0
 :


 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.xmlxsl=/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]http://user/SendEmail.jtp?type=nodenode=40425i=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=nodenode=40423i=0
 For additional commands, e-mail: [hidden email] 
 http://user/SendEmail.jtp?type=nodenode=40423i=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.
 NAMLhttp://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=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 
 archivehttp://apache-fop.1065347.n5.nabble.com/FOP-Users-f3.htmlat 
 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-tp40348p40427.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.
 NAMLhttp://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=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-tp40348p40454.html
 Sent from the FOP - Users mailing list 
 archivehttp://apache-fop.1065347.n5.nabble.com/FOP-Users-f3.htmlat 
 Nabble.com.