-
The following is the sequence of the life cycle of the servlets1. init()2. destroy()3. service()
Skill/Topic: ServletsA) 1,2,3B) 1,3,2C) 2,3,1D) 1,3,2
-
-
-
-
What is purpose of jsp forward method
A.forward control to another resource available in the same web application on different containerb.forward control to another resource available in the diff web application on different containerc.forward control to another resource available in the same web application on same containerd.forward control to another resource available in the diff web application on same container
-
-
-
-
-
-
-
-
-
-
-
-
How does JSP handle run-time exceptions?
You can use the errorPage attribute of the page directive to have uncaught runtime exceptions automatically forwarded to an error processing page. For example:<%@ page errorPage="error.jsp" %>redirects the browser to the JSP page error.jsp if an uncaught exception is encountered during request processing. Within error.jsp, if you indicate that it is an error-processing page, via the directive:<%@...
-
-
Can I call an interface in a JSP?
Pls comment
-
JSP Interview Questions
Ans