About Question enthuware.jwpv6.2.1059 :
Posted: Wed Nov 07, 2012 12:20 pm
Hi,
Session context is not thread-safe. The question assumes that only LoginServlet can modify the "userid" attribute but it could exist other servlet invoked in the same session that could modify this attribute.
You should specify that the only servlets in the application are this ones or there are only requests to this servlets.
It's difficult to be accurate when one of the options is "None of the above".
Best Regards,
Denis
Session context is not thread-safe. The question assumes that only LoginServlet can modify the "userid" attribute but it could exist other servlet invoked in the same session that could modify this attribute.
You should specify that the only servlets in the application are this ones or there are only requests to this servlets.
It's difficult to be accurate when one of the options is "None of the above".
Best Regards,
Denis