This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The usual way of allowing servlets and JSP to share objects is by attaching the object to either a HttpSession or the ServletContext. It depends on whether the object contains data specific to a particular user or if it is more general. NOTE: you can only share objects this way between servlets and JSP in the same "web application." The methods are all in the servlet API - you should have a copy if you are going to be serious about servlets. Bill