save the servlet to restuls to the db as well