Guest User

Untitled

a guest
Aug 15th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. How to pass command line arguments to shell script in JSP
  2. txtstr="xxx"
  3. Process p=Runtime.getRuntime().exec("filename.sh txtstr");
  4.  
  5. Process p=Runtime.getRuntime().exec("filename.sh 'txtstr'");
  6.  
  7. txtstr="xxx";
  8. Process p=Runtime.getRuntime().exec("filename.sh "+txtstr);
Add Comment
Please, Sign In to add comment