what is the difference between ServletContext and
ServletConfig

Answer Posted / ravikiran.chd

Servletcontext is one per webapplication and servlet config
is one per servlet

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pure servlet?

698


How can you run a servlet program?

601


Can we override destroy method in servlet?

506


Which interface must be implemented by all servlets?

799


What do you mean by cgi and what are its drawbacks?

533






How to generate the server side programming and the advantages of it over the other languages?

565


What is the structure of the http response

677


how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file

2088


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

2534


What are the functions of the servlet container?

1039


Why session tracking is needed?

588


What is servlet attributes and their scope?

596


How will you pass values from HTML page to the servlet?

556


How do servlets work?

538


Explain the difference between servletconfig and servletcontext in servlet?

577