| Author |
is struts thread safe
|
rachana ravali
Ranch Hand
Joined: Jun 20, 2006
Posts: 32
|
|
Hi Friends, I am new struts.I want to know whether struts are threadsafe and how? please clear my doubts.
|
 |
Murali Karthic
Greenhorn
Joined: May 31, 2006
Posts: 4
|
|
Hi, Struts is framework used for developing web-tier component of a project. The core component "Action" intrenally extends HttpServlet. So, as with servlets and JSP's , Struts is also multi-threaded ie. not thread-safe
|
 |
rachana ravali
Ranch Hand
Joined: Jun 20, 2006
Posts: 32
|
|
Hi Murali, thanks for your reply. can u please tell me how to make struts appication thread safe? in better way. rachana.
|
 |
Dom Lassy
Ranch Hand
Joined: May 05, 2006
Posts: 181
|
|
|
You can queue up the requests and use a mutex lock.
|
 |
A Kumar
Ranch Hand
Joined: Jul 04, 2004
Posts: 973
|
|
|
Can you throw some more light...
|
 |
Naseem Khan
Ranch Hand
Joined: Apr 25, 2005
Posts: 809
|
|
Why you want to make it thread safe? I don't find any reason making it thread safe unless you extend ActionServlet and define some instance variable which will going to be a shared resource.
|
Asking Smart Questions FAQ - How To Put Your Code In Code Tags
|
 |
 |
|
|
subject: is struts thread safe
|
|
|