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 http redirect?
What is java struts?
What is the purpose of @emailvalidator annotation?
What is dispatchaction?
What is action class? What are the types of action class?
How can duplicate form submission be handled in struts 2?
What is difference between lookupdispatchaction and dispatchaction?
How do I access token?
What is defeult result type?
How many struts config file can be created in struts?
What does it cost to replace struts?
What do you mean by struts.dev mode?
What is dispatch action class?
What is the purpose of @beforeresult annotation?
What are action errors and error?