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


Please Help Members By Posting Answers For Below Questions

Are arrays static in java?

578


What does escaping a character mean?

528


What is a qms manual?

537


What are the types of java languages?

515


Is set thread safe java?

499






How are variables stored in memory?

570


Difference between predicate, supplier and consumer ?

571


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

641


What is the difference between notify and notifyall method?

604


Give me an example of array and linked list? Where they can be used?

549


why using interface interface ?

1500


What is java dot?

487


What is a bufferedreader?

520


Explain about arraylist?

571


Differentiate jar and war files?

586