1) Configure web.xml to have session-timeout as 2 minutes
2) Deploy the attached poc-resource-portlet
3) Login to the portal
4) Add the portlet to a page
5) Start pressing the submit button frequently for more than 2 minutes
expexted behaviour: Session expiry warning should not pop up; the session should not be invalidated by the ApplicationServer.
actual behaviour: Session expiry warning shows up and after the threshold reached, the session will be invalidated and the user is logged out, no matter whether the same call executed multiple times with the submit button of the form.