I am new to the Alfresco 2.1 version can u provide some sample webscripts, where i can write the webscripts. How can i make request to the generated webscripts.
start investigating all the default web scripts via /alfresco/wcs/
you can either put your own webscripts in your extension_root/templates/webscripts or in the repo in data dictionary/web script extensions/. After that refresh webscripts via the url above. The url your new web script listens to is defined in the web script definition. See the examples for that.