i dont remember the question no. but in that question's explanation you said that the request implicit object referes to implementation of HttpServletRequest class.
so in this question's explanation i think it should be
page : PageContext
request : HttpServletRequest
session : HttpSession
application : ServletContext
About Question enthuware.jwpv6.2.1092 :
Moderators: Site Manager, fjwalraven
-
- Posts: 55
- Joined: Thu Jan 03, 2013 7:51 am
- Contact:
-
- Site Admin
- Posts: 10386
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1092 :
As per JSP section 1.8.2, "References to objects with request scope are stored in the request object."
Since HttpServletRequest extends ServletRequest, if you have a question that has HttpServletRequest as an option, then that is also correct. If you have both as options, ServletRequest is more correct.
HTH,
Paul.
Since HttpServletRequest extends ServletRequest, if you have a question that has HttpServletRequest as an option, then that is also correct. If you have both as options, ServletRequest is more correct.
HTH,
Paul.
-
- Posts: 17
- Joined: Fri Aug 14, 2015 9:35 am
- Contact:
Re: About Question enthuware.jwpv6.2.1092 :
Hey Paul,admin wrote:As per JSP section 1.8.2, "References to objects with request scope are stored in the request object."
Since HttpServletRequest extends ServletRequest, if you have a question that has HttpServletRequest as an option, then that is also correct. If you have both as options, ServletRequest is more correct.
HTH,
Paul.
As you said ServletRequest is more correct,so why the answer in enthuware.jwpv6.2.972 is HttpServletRequest ? I
-
- Site Admin
- Posts: 10386
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1092 :
You are right. Fixed.
thank you for your feedback!
Paul.
thank you for your feedback!
Paul.
-
- Posts: 17
- Joined: Fri Aug 14, 2015 9:35 am
- Contact:
Re: About Question enthuware.jwpv6.2.1092 :
which one is correct now,Paul ? and how can I check the updated ?
-
- Site Admin
- Posts: 10386
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1092 :
Sorry, I wasn't too clear. ServletRequest should be the correct one. The updated question bank will be uploaded to the download location. Once it is there, you will automatically be notified by ETS Viewer when you open the old question bank. It will also allow you to update your question bank.
-Paul.
-Paul.
Who is online
Users browsing this forum: No registered users and 6 guests