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 the usage of this with constructors?
What is the exception hierarchy in java?
What is a parameter in a function?
Is ruby built on java?
What are different type of exceptions in java?
What is udp in java?
Why is it important to initialize a variable?
What class allows you to read objects directly from a stream?
What is public static?
Why declare Main() method as a static in java ?
What is the basic of java?
What does a boolean method return?
What is the difference between iterator and enumeration ?
What is a class in java?
What is array command?