About Question enthuware.jwpv6.2.1163 :
Moderator: admin
-
- Posts: 9
- Joined: Mon Nov 04, 2013 7:49 am
- Contact:
About Question enthuware.jwpv6.2.1163 :
Isn't "loading of the servlet class" part of the request phase (first time only, same as instantiation) ?
-
- Site Admin
- Posts: 10043
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1163 :
The specification doesn't specify exactly when "loading of the servlet class" happens. So it may happen in translation time as well.
But it clearly specifies that instantiation happens at request time:
Paul.
But it clearly specifies that instantiation happens at request time:
HTH,The JSP page is translated to create a servlet class, the JSP page
implementation class, that is instantiated at request time.
Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 9
- Joined: Mon Nov 04, 2013 7:49 am
- Contact:
Re: About Question enthuware.jwpv6.2.1163 :
Right, I agree about instantiation and wasn't my attempt to argue against that.
So, why "loading of a servlet class" should be considered as a correct alternative then? I think this question has only one correct alternative.
So, why "loading of a servlet class" should be considered as a correct alternative then? I think this question has only one correct alternative.
-
- Site Admin
- Posts: 10043
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1163 :
As I mentioned before, the specification doesn't specify exactly when "loading of the servlet class" happens. so it may happen in translation time as well.
That is why it is a correct option.
HTH,
Paul.
That is why it is a correct option.
HTH,
Paul.
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 10 guests