update to work on tomcat based on spring