shell « Page « JSP-Servlet Q&A





1. Can I execute a shell script from a web page?    stackoverflow.com

My web page uploads a file. Currently it places that file in a directory which is polled by a cron job. If the file is there, a bash script ...

2. How to invoke shell script from JSP page    java-forums.org

4. How to invoke shell script from JSP page    forums.oracle.com

My expected out put is this: When i copy this link "http://132.17.34.101:7777/tools/testjava.jsp" in browser and hit enter then it should call my shell script and testfile.txt should be created on that directory (the directory where the jsp page is created in unix box). Also , pls let me know whats wrong in that code? Please help me out . Regards, Rajesh ...