Difference between pageContext.getSession and request.getSession
843836Nov 2 2004 — edited Nov 2 2004
Hello All,
In my application i am using JSP's as well as servlets. The servlet which the jsp pages creates is using the servletContext object for creating the session.
i.e
HttpSession session = pageContext.getSession();
But in the servlets which i created i used the following
HttpSession session = request.getSession();
Is there going to be any problems in the application due to this.
Please let me know.