Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP to Linux shell script  RSS feed

 
Howard Ralston
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy folks,
I am trying to find a way to call a shell script (probably bash) on the server while passing a parameter. In this case the parameter will be a username. The script will perform a check to see if the username is available and return a response to the JSP
(or servlet if necessary). Can anyone give me
a snippet of code to get me started?
Thanks,
Howard
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!