Web tier: servlets, JSP, Web frameworks: How do you run a shell script from servlet
- Posted by: Ashish Kasangottuwar
- Posted on: May 14 2001 13:13 EDT
I am having a shell script which does lots of things like extracting information from database, formatting and ftp'n.
I would like to know if it is possible with java servlet to execute this shell scripts as a result of POST/GET action.
if you only need to execute the scritp from a servlet
should be enough
use runtime class to execute your script...quick and dirty way.
Thank you all.