Invoking shell script from html/jsp page

I want to invoke shell script named bubesh.sh when submit button clicked on html/jsp page.I am using an apache server and the html & shell script are in the same working directory.Please help.

Look at using CGI/php, google is also your friend, there are thousands of examples for this being done.

Thanks for your reply dude.Found what i wanted.