pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al Grant <bigal...@gmail.com>
Subject Re: Call java file from PDF
Date Sun, 14 Feb 2016 20:15:12 GMT
Thank you for both your answers.

The html is very appealing,  but what I did not mention is in working
within a rather rigid IT environment.

I won't be able to install a html server. So back to Java executable (which
I can use) unless there is a better way?

Cheers

Al
On 15/02/2016 9:07 am, "Gilad Denneboom" <gilad.denneboom@gmail.com> wrote:

> 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