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
Is a char always 1 byte?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
What is an 8 bit word?
What are passing parameters?
Is finalize() similar to a destructor?
What about method local inner classes or local inner classes in java?
Implement two stacks using a single array.
What do you understand by private, protected and public?
What is anagram of a string?
What is the difference between conversation & casting?
What are the types of arrays in java?
How to read and write image from a file ?
What is a numeric digit?
In java, what is the difference between method overloading and method overriding?
What is :: operator in java?