About Question enthuware.jwpv6.2.915 :

Moderator: admin

Post Reply
webdeveloper
Posts: 8
Joined: Tue Jan 19, 2016 9:05 pm
Contact:

About Question enthuware.jwpv6.2.915 :

Post by webdeveloper »

Isn't COMPILATION phase preceded by TRANSLATION phase. The question asks about TRANSLATION phase then how option 2 is correct?

admin
Site Admin
Posts: 10045
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.915 :

Post 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.
If you like our products and services, please help us by posting your review here.

webdeveloper
Posts: 8
Joined: Tue Jan 19, 2016 9:05 pm
Contact:

Re: About Question enthuware.jwpv6.2.915 :

Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests