In
JSP we have implicit objects that we do not need to bother about.Just use those.As JPS's would get converted to servlets and follow the servlets life cycle.
Straight away you can start using those.All the JPS implicit objects map to some object from servlet specification.Like request means HTTPServletRequest and application means ServletContext.
For better understanding you might want to have a look at the servlet
java file translated by the container from the JSP.
In servlets you need to get references yourself.Use getServletContext method to get a reference to it , like this , others too.