IŽm new to Spring and I want to get access of httpservletrequest in all my webflow.
IŽve see an example on the net that did:
but I couldŽnt figure out how to add this listener to my webflow.Code:public void sessionStarting(final RequestContext context, final State startState, final Map input) { copyAttributes(context); } public void requestSubmitted(final RequestContext context) { copyAttributes(context); } private void copyAttributes(final RequestContext context) { ServletRequest request = ((ServletEvent) context.getSourceEvent()).getRequest(); for (String name: names) { context.getRequestScope().put(name, request.getAttribute(name)); } }
Could somebody give an example ?
Thanks in advance
C


Reply With Quote