pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilad Denneboom <gilad.denneb...@gmail.com>
Subject Re: Call java file from PDF
Date Sun, 14 Feb 2016 20:07:08 GMT
As Tilman wrote, you can submit the data to a server and then handle it
from there, but you can't execute an executable from within the PDF. That
would be a huge security risk, as a Java application can easily delete
files on your system or do all kinds of other damages.

On Sun, Feb 14, 2016 at 8:38 PM, Al Grant <bigal.nz@gmail.com> wrote:

> Hi Gilad,
>
> Well - both - using a javascript button on the PDF form to call a java
> executeable to submit the data on the form to a database. But it doesnt
> sound like javascript can call executeables?
>
> I will probably have to have the form saved to the disk and then have the
> java executeable given the path to the file, where it can then scrape the
> data to the database?
>
> Cheers
>
> -Al
>
>
> On Sun, Feb 14, 2016 at 10:29 PM, Gilad Denneboom <
> gilad.denneboom@gmail.com
> > wrote:
>
> > Java or JavaScript? The two are very different, despite the similar
> names.
> > You can't execute a Java file from within a PDF (luckily), but you can
> > attach (Acrobat) JavaScript code to a button in a PDF and have it execute
> > when the button is pressed, yes.
> >
>
>
>
> --
> "Beat it punk!"
> - Clint Eastwood
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message