Answer Posted / abc
Yes. You can use Threading in Servlet by implementing
SingleThreadModel interface.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is servlet and its use?
Why is a constructor needed in a servlet even if we use the init method?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
How can a servlet be used to generate plain text instead of html?
How do you define a servlet?
What is Client-Server Computing?
How to notify an object in session when session is invalidated or timed-out?
How do you load an image in a Servlet?
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 different ways we can maintain state between requests?
What is a generic servlet?
What do you mean by scope object and what are its types?
How can we implement a jsp page?
Is servlet a framework?
Explain the lifecycle of a servlet?