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 |
How Struts internally works? For Example if we type the URL "/login.do" how the process goes internaly? How the struts-config.xml loaded?
What is struts in java with example?
What types of Actions we have in Struts?
What is the naming convention for a resource bundle file in struts2?
Is form beans are serializable or not?
11 Answers College School Exams Tests, Magna Infotech,
When wil use singleton class in Struts
Why actionservlet is singleton in struts?
What is the purpose of @key annotation annotation?
Main reasons for using servlet as a controller in struts. why not jsp
What are the main classes which are used in struts application?
What is the differnce between 2-tier architecture and 3- tier architecture in java?
Can i use constructor in Action Class?If yes how?