Web Example

This example demonstrates how to deploy a web application with an HTTP session.

The UpdateSessionServlet is responsible for retrieving request parameters and adding their values to the HttpSession as session attributes, and the SessionContents.jsp displays the session attributes and renders two input fields, Name and Value for the user to input new session attributes.

BUILD

The example uses maven as its build tool. It comes with a build script that runs maven automatically. Running the build script with no parameters within the current directory will list all the relevant tasks that can be run with this example.

The available commands are:

DEPLOYMENT

In order to deploy the web example onto the Service Grid:

Online Documentation

For more information, lookup 'First Web Application' under http://docs.gigaspaces.com