Here I am referring to an example from Alfresco Developer Guide.
The example creates hello world web script. The code and the steps as mentioned in the book are pasted at the end.
My questions are 1- where both xml and .ftl files are stored on the machine? 2- The example is explained as follow in the book . " The Alfresco web application is configured to map all requests matching the pattern /alfresco/service/* to the web script request dispatcher servlet. " Which file contains these configurations?
Here is the actual example
1.Log in to Alfresco. 2. Navigate to |Company Home|Data Dictionary|Web Scripts Extensions. 3. Create a file called helloworld.get.desc.xml in the Web Scripts Extensions folder with the following content: <webscript> <shortname>Hello World</shortname> <description>Hello world web script</description> <url>/helloworld?name={nameArgument}</url> </webscript> 4. Create a file called helloworld.get.html.ftl with the following content: <html> <body> <p>Hello, ${args.name}!</p> </body> </html>