Hi ,i convert contrller as jSp And presentation as
servlet ...will it do? if so what are advantage and
idsadvantages

Answer Posted / srinu

if take as Controller as Jsp some Disadvantage is their
1)Jsp means very less java code so JSP as not suitabel for
controller(Servlet suitable)
2)Jsp not able to communicate other model component just
like EJB,Spring

NO advantage are their u take as controller

if take as Presentation as servlet some Disadvantage is their
1)Any modification their servlets compulsary u save it
source code after recompile the web application and reloaded
the application(JSP IS better As presentation).

NOTE: JSP AS Presentation layer ,sevlet as controller its
reconended

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to compare various strings with the help of == operator?

637


Why is inheritance used in java?

710


What is a protected class in java?

635


How do you pass by reference?

626


What is the latest version of java?

679






What happens when main () method is declared as private?

731


What is entry set in java?

609


What is the difference between Grid and Gridbaglayout?

678


Explain constructors and types of constructors in java.

733


Write a program to print count of empty strings in java 8?

640


What are the 6 functions?

608


What is the driver class?

658


When do we use hashset over treeset?

618


What are class types in java?

674


what is the difference between thread and runnable types? : Java thread

652