Tutorial :Why can't jspService() be overridden?


Why can't the jspService() method be overridden, where as jspInit() and jspDestroy() can be overridden?


This forum post explains why you cannot override jspService().

Basically, if you tried to override the jspService method, the code generated by the JSP compiler would end up with two copies of the method: the one you wrote and the one created by the compiler. This would result in a Java compilation error.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »