here the given example is not correct because here you are accessing session which is created by jsp.
here session object we are created does not matter.If you run the jsp only than also it will display the same content because that session was created by jsp when it loads not by us.
session handlingDeepika June 22, 2011 at 4:49 PM
how to validate the username also include session
accessing session object in struts2ekta February 24, 2012 at 5:50 PM
here the given example is not correct because here you are accessing session which is created by jsp. here session object we are created does not matter.If you run the jsp only than also it will display the same content because that session was created by jsp when it loads not by us.
Post your Comment