Main reasons for using servlet as a controller in struts.
why not jsp
Answer Posted / rajesh r
As per the Jsp spec we should limit the scriptlets usage.
and Jsp is designed for presentation(VIew) part based on
these points it is not recommended to use Jsp as a
Controller.
Regards
Rajesh
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the classes used as part of struts framework ?
What is action chaining ?
How exceptions are handled in struts application?
Whats the difference between the default namespace and the root namespace?
What is apache struts cve 2017 5638?
What are the features of struts?
What is the purpose of form-beans tag in struct-config.xml?
Provide some important Struts2 constants that you have used?
Can we have more than one struts-config.xml file for a single struts application?
What is Custom Type Converter in Struts2?
What is purpose of execandwait interceptor?
Why we use struts in java?
How is a lookup dispatch action created?
What is difference between interceptors and filters?
What do you mean by tiles in struts?