Hi,
I came across one interview question.
Question was
How action class will handle each new request?
A) For each request controller will create new instance of action class.
B) Single instance will handle all request.
C) instance creation is configurable in Struts-config.xml file.
D) Multiple request will be handle by multiple instance.
My knowledge says ans should be "B" as we think about controller is just
servlet and servelt will have one instance with multiple
thread running.
Please give your comment.
Correct me if i am wrong.
Thank you in advance,