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
Why destructor is not used in java?
Is simpledateformat safe to use in the multithreaded program?
Which keyword specify that a variable is effectively final ?
Can we use a default constructor of a class even if an explicit constructor is defined?
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
What is parameters example?
What is assembly language?
Is vector thread safe in java?
How do you add an element to a set in java?
List two java ide’s?
What is the benefit of singleton pattern?
Is void a data type in java?
why are there separate wait and sleep methods? : Java thread
Can a singleton class be inherited?
how does multithreading take place on a computer with a single cpu? : Java thread