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
What is pure servlet?
How can you run a servlet program?
Can we override destroy method in servlet?
Which interface must be implemented by all servlets?
What do you mean by cgi and what are its drawbacks?
How to generate the server side programming and the advantages of it over the other languages?
What is the structure of the http response
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
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 >>
What are the functions of the servlet container?
Why session tracking is needed?
What is servlet attributes and their scope?
How will you pass values from HTML page to the servlet?
How do servlets work?
Explain the difference between servletconfig and servletcontext in servlet?