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 the use of lookupdispatchaction?
What is meant by custom tags?
What is the purpose of @expressionvalidator annotation?
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
What are the 5 constants of action interface?
How is declarative handling of exceptions done in struts ?
What are the pros of struts 2?
How the exceptions are handled in struts?
What are action classes in struts?
How do you convert struts to springs?
What are the various struts tag libraries?
Explain about the validation steps which have to be carried during validation of client-side address?
What is struts2 namespace?
Does apache struts run on windows?
Where can I get help with struts?