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 inner classes or non static nested classes in java?
What is java reflection?
Why does java have two ways to create child threads?
What about interrupt() method of thread class ?
What is string intern in java?
What are the important features of Java 8 release?
How do I get the | symbol on my keyboard?
What are different types of inner classes ?
Does java support multiple inheritance or not?
Is an object null?
What is the common usage of serialization?
What is default size of arraylist in java?
How to Sort Strings which are given in List and display in ascending order without using java api.
What is the difference between length and length() method in java?
Can we write a class without main method in java?