Can we provide a constructor in the servlet class



Rep) As the Web Container uses newInstance() method for creating the servlet object,If requiered we can provide a zero arguent constructor

Share with SociBook.com

Random Posts

Post a Comment