cool hit counter
Cafe4Java
Cafe4Java
 

SCWCD Mock Exam
A2)
Answer : B
Explanation :
  • A) Option A is incorrect. Though Option A will work fine with Tomcat (we tried it with ver 5.5.9), it is incorrect according to JSP API specification. According to JSP API specification, the jspInit() method is invoked when the JSP page is initialised.
  • B) Option C is incorrect. <% .. %> will not define a separate method. It will embed the contents of the code within <% .. %> tags within the JSPs _service() method.
  • D) Option D is incorrect. <% .. %> will not define a separate method. It will embed the contents of the code within <% .. %> tags within the JSPs _service() method.


<<<< Return to Q2 <<<<<         >>>> Go to Q3 >>>>

Submit your feedback on this mock exam


 
 
Custom Search
     
Cafe4Java