I have a class extends Controller and return the ModelAndView I want to somehow session the object that I invoke from the method that call the web-service. How or what i have to do. Here is the snipet code that I wrote
[code] HttpSession session = request.getSession(true); session.setAttribute("someString", this.getWebService()) // invoke a method to return a Collection from webservice if (action == "none") // in here i want to get the session and get the data again from the session?
ArrayList arrList = (ArrayList) session.get(someString)? // is this right?