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
What is difference between string and new string?
What is the hashcode () and equals () used for?
What is the difference between variable & constant?
Can you declare the main method as final?
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 ?
Is a case study a method or methodology?
Can we declare register variable as global?
Is there a jre for java 11?
What are the Main functions of Java?
How many bits is size_t?
Explain about field hiding in java?
What is the use of math abs in java?
How to instantiate member inner class?
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
What is the difference between synchronized and synchronized block?