filmov
tv
26 Why by default JSP equivalent Servlet do not override jspInit, jspDestroy methods | JSP tutorial

Показать описание
By default JSP equivalent Servlet does not override jspInit(), jspDestroy() methods,
So to get them in our JSP equivalent servlet, we should use Declaration tag :
Ex:
%!
public void jspInit(){
}
%
%!
public void jspDestroy(){
}
%
%
Ques: Can we define _jspService(-,-) in declaration tag of JSP ?
=====================================================================
So to get them in our JSP equivalent servlet, we should use Declaration tag :
Ex:
%!
public void jspInit(){
}
%
%!
public void jspDestroy(){
}
%
%
Ques: Can we define _jspService(-,-) in declaration tag of JSP ?
=====================================================================