File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Thread-safe Action class ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

Thread-safe Action class ?

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1368
Can i use synchronized at synchronized execute() (method level) / synchronized block level for Thread-safe Action class.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

Only if you want your application to run like molasses. (In other words, very slowly.)

This is all pretty much addressed here, so I'll close this topic.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Thread-safe Action class ?
 
Similar Threads
question about action class
ActionServlet Thread Safe
Is Struts Action class Thread Safe?
Struts 1.2 session problem
Why Vector is made as a Legacy Class