Can we define constructor in Servlet class?

Answer Posted / avinash

yes,wecan

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the need of session tracking in web application?

581


What is java servlet session?

523


What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

558


What does the term localization refer to?

578


What are the common methods that are included in the http servlet class?

575






What is cookie in servlet?

591


What is the use of servlet context?

525


What is servlet interface?

694


What is the difference between context parameter and context attribute?

529


Which interface must be implemented by all servlets?

789


What is getservletcontext?

546


Where do you define dispatcherservlet?

550


Is servlet thread safe?

518


What do you mean by httpservlet and how it is different from the genericservlet?

535


What do you mean by servlet?

713