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


Please Help Members By Posting Answers For Below Questions

What is ognl?

600


What are different Struts2 tags? How can we use them?

574


Difference between html tags and struts specific html tags

513


What steps are required to for an application migration from Struts1 to Struts2?

611


What is a custom tag?

547






How long do struts last?

530


What are construction struts?

513


What is container struts2?

530


Are struts thread safe?

560


How you will enable front-end validation based on the xml in validation.xml?

575


What does modeldriven interceptor?

593


Can I have html form property without associated getter and setter formbean methods?

575


What is the default location of result pages and how can we change it?

556


What is purpose of execandwait interceptor?

583


Where can I get help with struts?

571