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
Name few java 8 annotations ?
What do you mean by jjs in java8?
What is purpose of applet programming?
What are the supported platforms by java programming language?
What is the technique adopted to create an immutable class?
Can I learn java without any programming experience?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
What is a predicate method?
What are the 3 types of control structures?
what is inner class in java?
What is the difference between length and size in java?
Why heap memory is called heap?
What do you mean by checked exceptions?
What is difference between static and final?
What is java and their uses?