About Question enthuware.jwpv6.2.1201 :
Moderator: admin
-
- Posts: 8
- Joined: Wed Jul 31, 2013 1:57 pm
- Contact:
About Question enthuware.jwpv6.2.1201 :
Hi,
I don't think that first answer should be correct. It sounds more like an answer to a servlet context (application scope). I think first answer would be true only if "other servlets or JSPs" have the same session id? By "other servlets or JSPs" this could mean by a different client running different thread, with different session id. So this answer would be wrong for different clients. However this answer speaks in general terms assuming all clients are involved, which is then applicable to servlet context scope, not session. Then why is this answer marked as correct?
I don't think that first answer should be correct. It sounds more like an answer to a servlet context (application scope). I think first answer would be true only if "other servlets or JSPs" have the same session id? By "other servlets or JSPs" this could mean by a different client running different thread, with different session id. So this answer would be wrong for different clients. However this answer speaks in general terms assuming all clients are involved, which is then applicable to servlet context scope, not session. Then why is this answer marked as correct?
-
- Site Admin
- Posts: 10078
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1201 :
Yes, that is correct. It is a general statement. There are other conditions that are required for this to happen but in general it is true.
There can always be something that needs to happen for something else to be true. For example, option 4 is true only if the response is not committed already. But everything cannot be specified in the questions.
I understand that it is a little ambiguous but expect similar options in the real exam as well.
HTH,
Paul.
There can always be something that needs to happen for something else to be true. For example, option 4 is true only if the response is not committed already. But everything cannot be specified in the questions.
I understand that it is a little ambiguous but expect similar options in the real exam as well.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 5
- Joined: Sat Oct 11, 2014 10:00 am
- Contact:
Re: About Question enthuware.jwpv6.2.1201 :
Option 1 is OK to assume that session is available in all JSPs but not in Option 5.
It is not little; it is too ambiguous.
It is not little; it is too ambiguous.
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1201 :
Regarding to the above statement, out is an instance of JspWriter.For example, option 4 is true only if the response is not committed already. But everything cannot be specified in the questions.
But response.getPrintWriter() returns a PrintWriter.
And PrintWriter is not a child class of JspWriter.
-
- Site Admin
- Posts: 10078
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1201 :
I have updated the question to make it less ambiguous.
thanks for the feedback!
Paul.
thanks for the feedback!
Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1201 :
Hi, thanks for your update.
In the Enthuware, I clicked on "tool" ->"check for question bank update". The current version is still 1/81.
How to get question bank updates?
In the Enthuware, I clicked on "tool" ->"check for question bank update". The current version is still 1/81.
How to get question bank updates?
-
- Site Admin
- Posts: 10078
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1201 :
We do not update the notifier for minor updates. We update the notifier after a major update for a mistake or a few minor updates. Otherwise, users may be annoyed with too many updates.
We do release the updated question bank immediately though. So you can just download the question bank from our website and replace your copy with the new one.
HTH,
Paul.
We do release the updated question bank immediately though. So you can just download the question bank from our website and replace your copy with the new one.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1201 :
In the explanation, it says the JSP authors are not supposed to write directly to PrintWriter ...
But as I tried this in my error page
It works.
But as I tried this in my error page
Code: Select all
<% response.getWriter().print( exception.getMessage());%>
-
- Site Admin
- Posts: 10078
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1201 :
It may work but is not recommended. In a JSP page, you should use the out variable.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 7 guests