<%@ page language=javascript %><% /* session.jsp * * Trivial example of session variables, just stores a counter * in the session variable. * * Since the Request object comes from the Servlet API, Resin * scripts can share session variables with java Servlets. */ var count = session.value.counter++;