Sample Questions
1. Which of the following is not true for servlet?
A. It is persistent
B. It is persistent
C. High performance
D. It is single threaded.
2. Which JSP tag is used to transfer processing to another JSP page?
A. <jsp:include>
B. <jsp:forward>
C. <jsp:redirect>
D. <jsp:useBean>
3. Which of the following is an approach for state maintenance in Web applications?
A. Hidden Form Field
B. URL Rewriting
C. Cookies
D. All of the above.
4. Which EJB usually represents persistent data?
A. Entity Bean
B. Stateless Session Bean
C. Stateful Session Bean
D. Message-Driven Bean
5. Which is least visibility scope for Java bean in JSP?
A. Page
B. Session
C. Request
D. Application
Answers: 1 (D), 2 (B), 3 (D), 4 (A), 5 (A)
More Practice Test at:
https://www.vskills.in/practice/quiz/Tomcat-Server
Apply for Certification
https://www.vskills.in/certification/Tomcat-Server-Certification