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 are the advantages of exception handling in java?
What is set string?
If a method is declared as protected, where may the method be accessed in java programming?
What are different types of multitasking?
How does finally block differ from finalize() method?
What is method in java with example?
What is difference between float and double?
What is an association?
What is method with example?
How do you create a reference in java?
In which order the iterator iterates over collection?
What is the difference between equals() and?
What is the purpose of format function?
What is the purpose of the main method?
What is the difference between an interface and an abstract class?