What is the difference between getSession(boolean true) and getSession() methods? How we will decide which method should be used?
posted 13 years ago
Hi! The getSession() method is just short for getSession(true). So the only reason for using the version that takes a parameter, is to specify that you do not want a session to be created, if one does not exist already. Regards, Flemming Mertz