Can servlet class declare constructor with ServletConfig object as an argument?
Can servlet class declare constructor with ServletConfig object as an argument? Correct Answer False
ServletConfig object is created after the constructor is called and before init() is called. So, servlet init parameters cannot be accessed in the constructor.
মোঃ আরিফুল ইসলাম
Feb 20, 2025