Java Server Pages: Dr. Shreyas Simu Asst. Prof. ECS Dept. DBCE - Fatorda
Java Server Pages: Dr. Shreyas Simu Asst. Prof. ECS Dept. DBCE - Fatorda
Shreyas Simu
WHAT IS JSP?
JSP is easy to code as it is java in HTML.
it is HTML in java.
JSP is slower than Servlet because the first
Servlet is faster than JSP. step in the JSP lifecycle is the translation of
JSP to java code and then compile.
Java ServerPage (JSP) Servlet can accept all protocol requests. JSP only accepts HTTP requests.
is a server-side program In Servlet, we can override the service()
In JSP, we cannot override its service() method.
that is similar in design method.
and functionality to a In Servlet by default session management is In JSP session management is automatically
Java servlet. not enabled, user have to enable it explicitly. enabled.