Hi
I'm pretty new to the
servlets and I'm wondering what is the difference between using:
HttpServletRequest.getSession().setAttribute()
and
HttpServletRequest.setAttribute()
I have read the javadoc that getSession will create a session if theres not one, but i dont understand why a session is not there if I have a HttpServletRequest object and hence the use of the getSession method.
Any advice appriciated
Thanks
Stu.