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
How do struts work?
What is the default suffix for Struts2 action URI and how can we change it?
What is the design role played by struts?
What is the purpose of struts.properties in struct2?
What are the core classes of struts?
Can you give an overview of how a struts application flows?
What do you mean by struts.dev mode?
What do you mean by actionform?
What does action do in struts?
What configuration changes are required to use Tiles in Struts?
List the important attribute and elements of action mapping under struts.
What are struts in java?
What's mvc pattern ?
What are the contents on web.xml in struts application ?
What do you mean by actionservlet?