As you have mentioned, servletA is called first and servletB next.
If nothing happens in addition as you have mentioned, you will receive the same session(not null) in servletB which used/created in servletA.
In servletA,
getSession(true) in servletA means create and return the session if not present otherwise return the existing session
In servletB,
getSession(false) in servletB means return the existing session if present otherwise return null.
Since you have already created a session in servletA for sure, you will receive not null session in servletB provided nothing happens in between the two calls to wipe-out your session e.g. session expires.
sysout(session)after that statment..