• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP page translation issue

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
B,D,F are correct
 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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'.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic