Trying to access the HTTP session through Javascript Webscripts on QuickStart.
I am unable to find any help in saving elements to some private object for each http session.
Does anyone know of any solutions?
Trying to access the HTTP session through Javascript Webscripts on QuickStart.
I am unable to find any help in saving elements to some private object for each http session.
Does anyone know of any solutions?
Create a custom JavaScript root object - it is a Java class which implements
org.springframework.extensions.webscripts.processor.BaseProcessorExtension
class, for example:Compile and package this class to jar archive and copy it to Share (or Surf based application).
Register this class in spring-surf-script-services-context.xml, for example:
Use your new custom root object in webscript, for example: