What is the difference between servlet config and servlet
context.
Answer Posted / suresh g
Servlet Context:
Servlet context is communication
between server side .Every application has only one
servlet context and is accessible to all action
resource of that application.
Serclet Config:
Servlet Config is objcet created after
a servlet is instantiation and its default constructor
is read .It is create to pass initialization
information the servlet.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How do you design microservices?
Which interface should be implemented by all servlets?
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 >>
Explain servlet events?
What exactly are the functions of servlet?
List out the difference between ServletConfig and ServletContext?
How to commuincate between an applet and a servlet?
Explain the steps involved in placing a servlet within a package?
Why do we need servlet filter?
What is the difference in between the httpservlet and generic servlet?
Why the container loads server at the application startup and how?
What is the difference between a generic servlet and http servlet?
What’s the difference between genericservlet and httpservlet?
How do you create a cookie using servlet?
Can you explain in detail 'javax.servlet' package?