Hi Dan
Earlier I gave him an example of a DWR backend bean which handles the mechanics
of Runtime.getRuntime().exec("cmd.,exe /C 'fubar'");
I *was* going to suggest using An Applet but I didnt want to spend the rest of
the month twiddling the exact permutation of execute and read permissions
Thanks for the link!
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung.
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est
interdite. Ce message sert à l'information seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Subject: Re: Running a binary program from a JSP
> From: [email protected]
> Date: Thu, 14 Mar 2013 08:06:06 -0400
> To: [email protected]
>
> On Mar 14, 2013, at 12:34 AM, Tim Gross wrote:
>
> > Hi,
> >
> > I want to know if it is possible to execute a binary program (written in C)
> > from within a JSP.
>
> Yes.
>
> > I would like to do this on the server side, not the
> > browser, in Tomcat6. If it is possible, can somebody provide an example.
>
> Use...
>
> http://docs.oracle.com/javase/6/docs/api/java/lang/Runtime.html
>
> or
>
> http://docs.oracle.com/javase/6/docs/api/java/lang/ProcessBuilder.html
>
> Google can give you examples.
>
> Dan
>
> > Sorry if I am using the wrong mailing list. Feel free to redirect me if
> > that is the case.
> >
> > Thanks,
> >
> > Tim.
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>