Hi ,i convert contrller as jSp And presentation as
servlet ...will it do? if so what are advantage and
idsadvantages
Answer Posted / shankar
If u use Servlet as presentation layer,then if u want to
modify ur program in future ,u have to shutdown the server
and class file has to be updated.
If ur usig JSP as presentation layer no need to
compile,update and shutdown the server.server container will
take care of it.
we can use JSP as controller but any one can view our code
but in servlet it is not possible.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are thread safe functions?
Can You Have Virtual Functions In Java?
Write a program in java to find the maximum and minimum value node from a circular linked list.
What is lazy initialization in java?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
Tell us something about set interface.
Can we call the constructor of a class more than once for an object?
What are predefined functions?
What is javac used for?
Explain the difference between abstract class and interface in java?
What are "methods" and "fields"?
What is the difference between length and length () in java?
Can I declare class as static or private?
Difference between a process and a program?
Difference between method overloading and overriding.