Organizational Research By

Surprising Reserch Topic

Question:Why is _jspService() method starting with an '_' while other life cycle methods do not?



asked Sep 13, 2013 in JSP by anonymous
edited Sep 12, 2013
0 votes
128 views



Related Hot Questions

2 Answers

0 votes

 

main JSP life cycle method are jspInit() jspDestroy() and _jspService() ,bydefault whatever content we write in our jsp page will go inside the _jspService() method by the container if again will try to override this method JSP compiler will give error but we can override other two life cycle method as we have implementing this two in jsp so making this difference container use _ in jspService() method and shows that we cant override this method.
 
answered Sep 13, 2013 by anonymous
edited Sep 12, 2013
0 votes

 

main JSP life cycle method are jspInit() jspDestroy() and _jspService() ,bydefault whatever content we write in our jsp page will go inside the _jspService() method by the container if again will try to override this method JSP compiler will give error but we can override other two life cycle method as we have implementing this two in jsp so making this difference container use _ in jspService() method and shows that we cant override this method.
 
answered Sep 13, 2013 by anonymous
edited Sep 12, 2013

...