Main reasons for using servlet as a controller in struts.
why not jsp

Answer Posted / naman patidar

Controlling is a server side task and it makes no sense to
write you java code inside a jsp.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's mvc pattern ?

590


Explain how can we upload files in struts2 application?

623


How many servlet controllers are used in a Struts Application?

515


Who wrote struts?

556


What are the features of struts?

577






How long do struts last?

533


Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?

502


Explain the difference between plain-validator and field-validator in struts?

528


How interceptor works in struts 2?

596


What is the purpose of @key annotation annotation?

602


What is the purpose of redirect result type?

576


Where can I get a copy of struts?

543


What is struts 2 framework in java?

545


Where should struts xml be placed?

505


Explain the components of struts?

546