What is Single Threaded Model in Servlets? Explain this
with an example?
Answer Posted / rajesh r
Hi
The SingleThreadedModel has been deprecated from Servlet
specification due to a performace hit.
Please donot use this in future use Synchronized block if
you really need to protect your Attributes from cuncurrent
access.
Thanks
Rajesh
rajeshr1988@gmail.com
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
What are the different types of servlets?
What do you mean by default initialization in java servlet?
What exactly is a servlet?
how the HTML data stored in web server?
What is a deployment descriptor?
What is the structure of the http response
Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!
What is the difference between forward () and sendredirect () functions in servlet? Explain
What are the ways to handle multi-threading in servlets?
What are the steps involved in placing a servlet within a package?
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
Write a servlet to upload file on server.
What is a servlet context object?
Is that servlet is pure java object or not?
What is the purpose of dispatcherservlet properties?