how handle when client send multiple request at atime for
single servlet

Answer Posted / srinivas from inetsolv

By declaring printwriter objetct as an local variabel to the
service method.Doing like this every thread will hava a
seperate copy of printwriter object on its stack
space.Hence there is no problem for even though when we
have multiple requests for at a time for same servlet.

Is This Answer Correct ?    10 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How client side validation is enabled on a jsp form?

592


What is struts?

583


Which tag is used to declare constants in struts xml?

474


What are the core classes of the struts framework?

514


in struts how to use hibernate with struts>

1827






What is struts 2 framework in java?

542


What’s the utilization of struts.xml configuration file?

537


What is request processor and how does it relates to action mapping?

581


What is java struts?

540


Explain design patterns which is used in struts?

538


Can you explain aware interfaces in struts2?

586


Are struts thread safe?

560


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

526


What is dispatch action class?

609


What is the purpose of @after annotation?

592