O'Reilly logo

Alfresco 3 Cookbook by Snig Bhaumik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing and deploying Web Scripts

As you know, writing a Web Script requires creating some files in certain locations. Here in this recipe we will see how this can be done. The best part is you do not require any Java development environment; no Eclipse is required for writing Web Scripts, no Java programming knowledge is essential. However, if you wish to create Java-backed Web Scripts, you may need these.

In the latter examples and illustrations, we will create our Web Scripts in the classpath folder in a new package, com\infoaxon. Let's say we will create a Web Script with the service-ID showhomedetails.

We expect the Web Script to return the contents of the current user's home space in a structured HTML format.

How to do it...

  1. First we will create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required