1. JSP are coded in:
2. How are JSP comments written?
3. A Servlet runs on ____
4. The correct way to create a cookie is:
5. Which code block is correct?
6. What's the difference between servlets and applets? 1.Servlets executes on Servers, where as Applets executes on Browser 2.Servlets have no GUI, where as an Applet has GUI 3. Both of them 4. None of them
7. The Web container creates JSP implicit objects like...
8. Which is not a valid standard method called as part of the JSP life cycle by the container?
9. Given: 1. <%@ taglib prefix=”c” uri=”http://java.sun.com/jsp/jstl/core” %> 2. <%@ taglib prefix = “tables” uri= http://www.javaranch.com/tables %> 3. <%@ taglib prefix = “jsp” tagdir=”/WEB_INF/tags” %> 4. <%@ taglib uri=”UtilityFunctions” prefix=”util” %> What about the above taglib directives would cause the JSP to not function?
10. Which is a non-idempotent HTTP method
JSP And Servlets MCQs | Topic-wise