Hello Pallavi, as you want to work as a java developer, please try to get in Java by developing a few Java programs.
I would recommend You to read books such as Complete reference Java and Book by Kathey Sierra and Bert Bates.
I would also suggest you to read and code programs from these books. For Servlets and JSP's one can make use of HeadFirst Servlets. It is just an awesome book.