You are here

Creating a Folder Listing Java-backed web script

A Folder Listing Java-backed web script mimics the behavior of the dir command in Microsoft Windows, or ls in Linux and Mac OS X. The controller script in this implementation is in Java. The client interacts with it through HTTP requests and responses. In comparison to an implementation with JavaScript, this allows you to build a library of scripted web scripts exposing a well-defined interface and then, over time, replace their implementation with Java, if requirements such as performance become critical. As long as the interface does not change, the user will not notice.