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 ognl?
What are different Struts2 tags? How can we use them?
Difference between html tags and struts specific html tags
What steps are required to for an application migration from Struts1 to Struts2?
What is a custom tag?
How long do struts last?
What are construction struts?
What is container struts2?
Are struts thread safe?
How you will enable front-end validation based on the xml in validation.xml?
What does modeldriven interceptor?
Can I have html form property without associated getter and setter formbean methods?
What is the default location of result pages and how can we change it?
What is purpose of execandwait interceptor?
Where can I get help with struts?