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 is struts2 namespace?
What is action class? What are the types of action class?
What are the cons of struts 2?
How exceptions are handled in struts application?
Explain struts?
What is the default location of result pages and how can we change it?
What is the purpose of @doublerangefieldvalidator annotation?
What are the components of struts?
What is the use of Struts.xml configuration file?
Is Struts Framework part of J2EE?
Why it called struts?
What is actionmapping?
What is the purpose of @customvalidator annotation?
What is the purpose of @conversion annotation annotation?
Describe the mvc on struts?