allcolor / YaHP-Converter

YaHP is a Java library that allows you to convert an HTML document into a PDF document.
GNU Lesser General Public License v2.1
56 stars 23 forks source link

Relative output path #12

Closed anothrNick closed 11 years ago

anothrNick commented 11 years ago

Hi again,

I was also wondering if there was a way to make YaHP work with a relative output path rather than an absolute one.

Thanks

allcolor commented 11 years ago

Hi,

In the code (class CYahpConverter), you give an outputstream to the method, the way you construct it is up to you. If you're talking about CSimpleConversion, this code is meant as an usage example...

Regards, Quentin

2013/8/23 Nick Sjostrom notifications@github.com

Hi again,

I was also wondering if there was a way to make YaHP work with a relative output path rather than an absolute one.

Thanks

— Reply to this email directly or view it on GitHubhttps://github.com/allcolor/YaHP-Converter/issues/12 .

All those moments will be lost in time, like tears in rain.

anothrNick commented 11 years ago

I realized my issue is because I'm trying to create the pdf from a jsp servlet and it doesn't accept a relative url.