This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes JSP Page Translation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "JSP Page Translation" Watch "JSP Page Translation" New topic

JSP Page Translation

Richard Rex
Ranch Hand

Joined: Sep 19, 2005
Posts: 100
Which three occur during JSP page translation?

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 syntactic correctness.
E. The associated tag files are validated for syntactic correctness.

The engine says, it B, C and D.

But I think C is not included, it should be E. I'm a little bit confused. Isn't it that Page Compilation is another phase for JSP? Any idea?

"If you fail to plan, you plan to fail."<br /> <br />Chad<br />SCJP 1.4<br />SCWCD 1.4<br />SCBCD 1.3<br />SCDJWS (next)
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950

My answers are B,D,E


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026

c. The JSP page implementation class is compiled.

Compilation is a seperate step that happens after translation. Hence "c" wouldn't be part of the answer.

Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
subject: JSP Page Translation
It's not a secret anymore!