Free Online Whiteboard Base64 Converter JSON Utility SmartTool PDF

Category: Blog

How does JSP handle run-time exceptions? 0

How does JSP handle run-time exceptions?

You can use the errorPage attribute of the page directive to have uncaught run-time exceptions automatically forwarded to an error processing page. For example: <%@ page errorPage=\”error.jsp\” %> redirects the browser to the JSP...

Can U explain JSP Life Cycle? 0

Can U explain JSP Life Cycle?

The generated servlet class for a JSP page implements the HttpJspPage interface of the javax.servlet.jsp package. The HttpJspPage interface extends the JspPage interface which inturn extends the Servlet interface of the javax.servlet package. the...

Explain the life cycle methods of a Servlet. 0

Explain the life cycle methods of a Servlet.

The javax.servlet.Servlet interface defines the three methods known as life-cycle method. public void init(ServletConfig config) throws ServletException public void service( ServletRequest req, ServletResponse res) throws ServletException, IOException public void destroy() First the servlet is...