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 an exception? difference between Checked and Unchecked exception in Java
What does it mean to be immutable?
Which is faster call by value or call by reference?
Explain about version control?
Why java is considered as platform independent?
What is java used for?
what is use of functional interface in java 8?
How do you create a reference in java?
What is functional interface in java?
What is ternary operator? Give an example.
design an lru cache in java?
Variables used in a switch statement can be used with which datatypes?
What are the advantages of user defined functions?
How do you sort in ascending order in java?
Can we serialize static variables in java?