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
Is it possible to compare various strings with the help of == operator?
Why is inheritance used in java?
What is a protected class in java?
How do you pass by reference?
What is the latest version of java?
What happens when main () method is declared as private?
What is entry set in java?
What is the difference between Grid and Gridbaglayout?
Explain constructors and types of constructors in java.
Write a program to print count of empty strings in java 8?
What are the 6 functions?
What is the driver class?
When do we use hashset over treeset?
What are class types in java?
what is the difference between thread and runnable types? : Java thread