Answer Posted / shrikant kale
Basically ,ApplicationContoller/RequestProcessor will
create & use the only instance of each Action class [hence:
Singleton in nature] .
Also, it is not Thread-Safe as it suppose to serve the
multiple request.
Hence we must not declare class instance variable in Action
class.If declared so then Action class state becomes non-
thread safe.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is struts in java with example?
Can we use struts and spring together?
What are the custom tags?
In which order struts framework searches for a message bundle?
What are the features of struts 2?
Why we use struts in java?
What are the struts2 error message keys that can come during file uploading process?
Why is action servlet a singleton in struts?
What do you mean by actionservlet?
What are apache struts?
Which components are available using actioncontext map?
How is the action mapping specified?
What is actioncontext?
What is apache struts used for?
What is the role of action class?