Can we write Structs application without using Action Class
directly or indirectly(extends Action class)
Answers were Sorted based on User's Feedback
No we cannot . since action servlet is the controller in
struts application which is the super class of Action Class.
Is This Answer Correct ? | 10 Yes | 3 No |
Answer / deepthi
yes we can write a struts application without using Action
class in struts 2.0.In struts 1.2 it is not possible because
it is API dependendent.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / akhilesh
Since all Action classes like
ForwardAction,IncludeAction,DispatchAction are sub classes
of Action class so in struts1.1 its not possible but Struts2
Action class has obsolete so we can..
Is This Answer Correct ? | 1 Yes | 0 No |
i have list of values(e.g 100). using logic:iterate, how can i print the multiples of 5th element? how the logic:iterate will understand the multiples of 5.
What's the purpose of execute method of action class?
Does Struts2 action and interceptors are thread safe?
Explain about the library tag?
life cycle of struts?
14 Answers HCL, iGate, Scope International,
What is role of actionservlet?
Is struts thread safe?
Which class of struts is responsible to converts data types from string and vice versa?
How you will enable front-end validation based on the xml in validation.xml?
In struts, how can we access java beans and their properties?
Struts follows which design patterns?
How tag libraries are defined in Struts?