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
Can java inner class be static?
What are the differences between heap and stack memory?
What is the default size of set in java?
Difference difference paint() and paintcomponent()?
What is application tier?
What is intern method in java?
Does java linked list allow duplicates?
Where is const variable stored?
Why we use set in java?
Is null a string or object in java?
What are the advantages of java over cpp?
Which is better 64 bit or 32 bit?
What are three types of loops in java?
What is the difference between static (class) method and instance method?
What is keyset in java?