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 is default locale java?
What about instanceof operator in java?
Is java util regex pattern thread safe?
Is java map thread safe?
What is variable declaration and definition?
'A class is a template for an object' explain this statement.
What is a substitution variable?
What is supplier in java?
Explain listiterator and methods in listiterator?
What is method with example?
Explain the difference between an Interface and an Abstract class?
What are the different http methods?
What is difference between overloading and overriding in java?
How do you override a private method in java?
What is the disadvantage of java?