Can we override jspInit() method?

Questions by suri_veeru

Showing Answers 1 - 5 of 5 Answers

ramesh

  • Mar 26th, 2006
 

no as this method is generated by the container it cannot be overridde

  Was this answer useful?  Yes

rachana

  • May 12th, 2006
 

you can overwrite jspInit() method.

  Was this answer useful?  Yes

krishna

  • Jun 7th, 2006
 

Hi friends,the methods which are generated with "_" cannot be overrided ok. so jspInit() and jspDestroy() both can be overrided and _jspService() cannot be overrided. If it is not correct plz give me a proper ans to my id krishna_darl@yahoo.co.inthankskrishna

  Was this answer useful?  Yes

Nguyen Nhu Anh

  • Jun 29th, 2006
 

yep, we can override jspInit() as well. However, I wonder that if we overrivde jspInit with 2 methods:- 1st: jspInit()- 2nd: jspInit(String s) // assume something like thatWhich method invoked when JSP page initialize?

  Was this answer useful?  Yes

amit20_jain

  • Sep 20th, 2006
 

HI friend we can override jspinit() if we declared in declaration section becouse it is run as servlet part.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions