can we create more than ServletContext and ServletConfig in
your application
Answer Posted / sunstar
Servlet Context is used per Web apllication so we can't use
more than one Context,Servlet Config is per servlet or per
Jsp so you can use the more than one Config.....:-)
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Why are servlets used?
How to get the current httpsession object?
How is a servlet implemented in code?
What are the features added in Servlet 2.5?
What are the phases of a servlet life cycle?
What is ServletContext object?
What do you mean by singlethreadmodel interface?
How the typical servlet code look like ?
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 url encoding?
What is the use of httpservletrequestwrapper?
Which is the methods of generated servlet?
What methods do you use in servlet - applet communication?
Which interface must be implemented by all servlets?
What's the servlet interface?