is servlet,struts are threadsafe or not.please telme correct
answer



is servlet,struts are threadsafe or not.please telme correct answer..

Answer / yadav1776

Yes, servlet and struts are thread safe.
Only one instance of servlet is created by servlet
container at startup.
Same is the case with struts, only one instance is created
of action servlet (considering struts 1.x).

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Advanced Java Interview Questions

What is Introspection?

2 Answers  


the advantages of polymorphic

1 Answers  


how the action can be map from jsp page to bean class in mvc1

1 Answers   Photon,


What does module-relative mean?

0 Answers  


How primary key is implemented in Oracle?

0 Answers  






If i learn Java, what kind of applications can i create that will help Banking, Retail, Hotel, Logistics industry.

2 Answers  


What is meant by multi-threading?

6 Answers  


What are the services in RMI ?

0 Answers  


What is RMI and what are the services in RMI?

0 Answers  


What state does a thread enter when it terminates its processing?

0 Answers  


Which container method is used to cause a container to be laid out and redisplayed?

0 Answers  


1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession

1 Answers  


Categories