Page 1 of 1

About Question enthuware.jwpv6.2.915 :

Posted: Wed Feb 03, 2016 12:38 am
by webdeveloper
Isn't COMPILATION phase preceded by TRANSLATION phase. The question asks about TRANSLATION phase then how option 2 is correct?

Re: About Question enthuware.jwpv6.2.915 :

Posted: Wed Feb 03, 2016 1:17 am
by admin
Because, as noted in the explanation, the specification does not make a distinction between compilation and translation phases. Compilation happens in the translation phase itself, as mentioned in this sentence from the specification:
In the translation phase, the container validates the syntactic correctness of the JSP pages and tag files and determines a JSP page implementation class that corresponds to the JSP page.
The bold part means that compilation happens in the this phase itself (otherwise, how will it determine the class file?).
HTH,
Paul.

Re: About Question enthuware.jwpv6.2.915 :

Posted: Wed Feb 03, 2016 5:13 am
by webdeveloper
admin wrote:Because, as noted in the explanation, the specification does not make a distinction between compilation and translation phases. Compilation happens in the translation phase itself, as mentioned in this sentence from the specification:
In the translation phase, the container validates the syntactic correctness of the JSP pages and tag files and determines a JSP page implementation class that corresponds to the JSP page.
The bold part means that compilation happens in the this phase itself (otherwise, how will it determine the class file?).
HTH,
Paul.
Got that. Thanks. I used to see translation and compilation phase separately.