What is the difference between servlet config and servlet
context.

Answer Posted / nahim makhani

Servlet context is used for every servlet of package and
servlet config
is used for particular one servlet

Is This Answer Correct ?    5 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does servlet have main method?

683


Why HttpServlet class is declared abstract?

644


What is http servlet in java?

556


What is load-on-startup in servlet?

580


What is the difference between context parameter and context attribute?

530






Explain their methods? Tell me their parameter names also have you used threads in servlet?

581


What is the use of servlet context?

525


Explain get and post.

647


Explain the difference between jsp and servlet?

586


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

563


What are the uses of servlet

628


What is the use of welcome-file-list?

567


What are the jobs performed by servlets?

581


What is cgi?

594


What do you mean by web applications?

623