Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is difference between string and new string?

1080


What is the hashcode () and equals () used for?

1125


What is the difference between variable & constant?

1090


Can you declare the main method as final?

1064


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

1210


Is a case study a method or methodology?

950


Can we declare register variable as global?

965


Is there a jre for java 11?

1129


What are the Main functions of Java?

1130


How many bits is size_t?

1030


Explain about field hiding in java?

998


What is the use of math abs in java?

1066


How to instantiate member inner class?

1145


What is the purpose of the finally clause of a try-catch-finally statement in java programming?

1011


What is the difference between synchronized and synchronized block?

1106