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

How do you compare objects in java?

589


Is java good for beginners?

661


What is preparedstatement in java?

662


What is a bubble sort in java?

627


Is arraylist zero based?

643






what is the significance of listiterator in java?

701


What is Applet Stub Interface ?

2047


Differentiate between array list and vector in java.

735


What is the console in java?

765


What is java in simple terms?

629


What is the common usage of serialization?

677


How do you use parseint in java?

603


What is an example of declaration?

630


Can we call thread start () twice?

594


What is a local class in java?

664