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
Difference between concurrent hashmap and hashtable and collections
How do you delete a list in java?
What is 16 bits called?
what do you mean by classloader?
What is boolean query?
Difference between arraylist and vector.
How java is similar to c?
How to find the index of the largest number in an arraylist java?
Why is static used?
In a class implementing an interface, can we change the value of any variable defined in the interface?
What does it mean that strings are immutable?
What does 0 mean in boolean?
Can we define package statement after import statement in java?
What are the legal parameters?
What is the use of list in java?