Why can't we make jsp as a controller and action
servlet in struts?
Answer Posted / srinu
Jsp means "LESS JAVA CODE" and also tag based program.Their
is no tag intigriate with other logic.so jsp is not
suitable for controller.when we take ActionServlet or
Servlet as contoller for suitable.This class contain pure
java code and also intigrate with other logic and follows
oops priniciple,MVC principle.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is nextint java?
Can java program run without jre?
explain the concept of virtual method invocation in polymorphism in detail?
What is java util?
What is an object in java?
Can the interface be final?
When can we say that threads are not lightweight process in java?
What is the purpose of the enableevents() method in java programming?
Can we override data members in java?
How are multiple inheritances done in Java?
What are exception handling keywords in java?
How do you join strings in java?
How can you generate random numbers in java?
What does index mean in java?
What is t type java?