replaced web.xml file with DispatcherInitializer
reworked the way item data is saved