Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP page translation issue

 
BO KANG
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question 12

Which three occur during JSP page translation?(Choose three)

A.The jspInit method is called
B.The JSP page implementation class is created
C.The JSP page implementation class is compiled
D.The JSP page is validated for syntatic correctness
F.The associated tag files are validated for syntatic correctness.

The answer is BCD,but i think option C is not correct,because that is after translation process ,in the compilation process.

Another thing is for option F, when does the web container check its syntax?

Thanks
 
Ravi Singh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
B,D,F are correct
 
Jan Sterk
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by BO KANG:
Question 12

Which three occur during JSP page translation?(Choose three)

A.The jspInit method is called
B.The JSP page implementation class is created
C.The JSP page implementation class is compiled
D.The JSP page is validated for syntatic correctness
F.The associated tag files are validated for syntatic correctness.

The answer is BCD,but i think option C is not correct,because that is after translation process ,in the compilation process.
...


The question doesn't mention anything about the sequence of the occurences - which is DCB. A 'page implementation' is a translated jsp.


Another thing is for option F, when does the web container check its syntax?


A simple test shows me that the syntax is checked the moment the tag file is actually used in a jsp (not when it is declared with <%@ taglib %> ). So the word 'associated' is vague, and apparently meant as 'declared'.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic