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
Name container classes in java programming?
What is the main use of generics in java?
Explain the scope of a variable.
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
What is the use of System class?
How many functional interfaces does java 8 have?
Is class is a data type?
Difference between Linked list and Queue?
Convert Binary tree to linked list.
How does arraylist size increase in java?
Explain implementation and how is it different from conversion?
how to handle exceptions in ejb?
Difference between this() and super() ?
Why spring singleton is not thread safe?
Difference between stack and queue?