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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to