Register now or log in to join your professional community.
#As we know that jsp has designed to support tagbased programming,so the people who hv basic knowledge of html ,they can also use jsp in webpage development,n if i talk about class ,every jsp is internally translated into servlet ,and every jsp program having 2 phase:-
1)Translation Phase 2)request Processing Phase
=>something like,||browser gives request to-->.jsp page-->jsp pagecompiler-->gives .java(JES source code)-->javac-->gives .class file(Execution phase)-->(response goes to browser)
As we know JSP is JAVA Inside HTML and the SERVLET is HTML Inside JAVA;
so the web server (e.g :APACHE TOMCAT SERVER) compile JSP into servlet (JAVA code ).
in other words JSP ==>WEB SERVER COMPILATION ==>JAVA CLASS(SERVLET)