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 the purpose of @element?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
What is action class?
How duplicate form submission can be controlled in struts?
What are action errors?
What does i18n interceptor?
Explain about how requests from the client are sent?
Can you explain aware interfaces in struts2?
What is struts 2 framework in java?
What is action support class in struts2?
At the point, you should go for struts framework?
Is struts mvc framework?
How to handle exceptions in structs?
Which design pattern the interceptors in struts2 is based on?
What are the core classes of the struts framework?