You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Vojko <vo...@dhimahi.com> on 2004/12/05 13:40:04 UTC

fop servlet question 3

Hi

Why does this:
http://192.168.0.21:8080/fop/servlet/FopServlet?xml=/home/vojko/public_html/servlets/fop/src/brochure/brochure.xml&xsl=http://localhost/~vojko/servlets/fop/src/brochure/brochure-fo.php

cause this error:

java.io.FileNotFoundException:
/home/vojko/http:/localhost/~vojko/servlets/fop/src/brochure/brochure-fo.php: No such file or directory

Can I call xsl file on a server?

Regards, Vojko.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: fop servlet question 3

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Vojko wrote:
> Why does this:
> http://192.168.0.21:8080/fop/servlet/...&xsl=http://localhost/~vojko...
> 
> cause this error:
> 
> java.io.FileNotFoundException:
> /home/vojko/http:/localhost/~vojko/servlets/fop/src/brochure/brochure-fo.php: No such file or directory
> 
> Can I call xsl file on a server?

No. The servlet opens local files, not URLs, for both the XML and XSL
documents. You have to code your own servlet if you want to get your
style sheet elsewhere.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: fop servlet question 3

Posted by Vojko <vo...@dhimahi.com>.
Hi

I didn't do the trick...I keep getting /home/vojko/...file not found and
I really don't know where is this /home/vojko/... defined.

Maybe it has got something to do with my Jakarta-Tomcat container?

Vojko

On Sun, 2004-12-05 at 19:02, Gunnar Liljas wrote:
> Not knowing the inner workings of the servlet I'd like to recommend that 
> your path to the XSL be URL encoded.
> 
> /G
> 
> 
> 
> At 13:40 2004-12-05, you wrote:
> >Hi
> >
> >Why does this:
> >http://192.168.0.21:8080/fop/servlet/FopServlet?xml=/home/vojko/public_html/servlets/fop/src/brochure/brochure.xml&xsl=http://localhost/~vojko/servlets/fop/src/brochure/brochure-fo.php
> >
> >cause this error:
> >
> >java.io.FileNotFoundException:
> >/home/vojko/http:/localhost/~vojko/servlets/fop/src/brochure/brochure-fo.php: 
> >No such file or directory
> >
> >Can I call xsl file on a server?
> >
> >Regards, Vojko.
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> >For additional commands, e-mail: fop-user-help@xml.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: fop servlet question 3

Posted by Gunnar Liljas <gu...@leon.se>.
Not knowing the inner workings of the servlet I'd like to recommend that 
your path to the XSL be URL encoded.

/G



At 13:40 2004-12-05, you wrote:
>Hi
>
>Why does this:
>http://192.168.0.21:8080/fop/servlet/FopServlet?xml=/home/vojko/public_html/servlets/fop/src/brochure/brochure.xml&xsl=http://localhost/~vojko/servlets/fop/src/brochure/brochure-fo.php
>
>cause this error:
>
>java.io.FileNotFoundException:
>/home/vojko/http:/localhost/~vojko/servlets/fop/src/brochure/brochure-fo.php: 
>No such file or directory
>
>Can I call xsl file on a server?
>
>Regards, Vojko.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
>For additional commands, e-mail: fop-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org