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

preview_player
Показать описание
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 ?
=====================================================================
Рекомендации по теме
welcome to shbcf.ru