can i call destroy() method in init() method of servlet
Answer Posted / helper
Shekhar babu, if you don't know anything. why are you
answering questions. Just read the answers as you should be
able to analyze your abilities.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
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 do you mean by session tracking and also explain its techniques?
If servlet receives multiple requests, how many objects will it create?
What do you mean by annotations in servlet?
How the servlet is loaded?
When servlet is loaded?
List some life cycle methods of a servlet.
Explain servlet life cycle?
What is meant by Servlet? What are the parameters of service method?
What are some advantages of storing session state in cookies?
What do you mean by servlet?
How to create war file?
Is that servlet is pure java object or not?
What is the difference between encodeRedirectUrl and encodeURL?
Is servlet a server side scripting language?