About Question enthuware.jwpv6.2.1059 :
Posted: Sun Jun 02, 2013 11:21 am
Hi,
I just have a question regarding the correct answer of this question.
You said "Assuming loginUser() and generateReport() are valid methods". This does not guarantees that loginUser(req) will never return null. In this case (returns null), even if the LoginServlet receives a post first, generateReport() will not be executed.
So, unless loginUser() can never return null (which should be mentionned), the answer selected is not always the correct one.
Thanks!
I just have a question regarding the correct answer of this question.
Code: Select all
String user = loginUser(req);
So, unless loginUser() can never return null (which should be mentionned), the answer selected is not always the correct one.
Thanks!