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
Explain about features of local inner class?
What is java util?
What is java beans?
Can we declare the static variables and methods in an abstract class?
What does || mean in code?
What is the purpose of static keyword in java?
What does opcode mean?
What are checked exceptions?
I don’t want my class to be inherited by any other class. What should I do?
What is boolean data type in java?
What is the protected method modifier?
How do you check if an arraylist is not empty?
State two differences between C and Java.
what is the difference between preemptive scheduling and time slicing? : Java thread
What are the parts of a method?