Create retrieve database in servlet and jsp