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 n in java?
What are the two types of exceptions in java? Which are the differences between them?
What is collection class in java? List down its methods and interfaces.
Name component subclasses that support painting in java programming?
What are untrusted applets?
How do you create a bulleted list?
Implement a stack with push (), pop() and min() in O(1) time.
What methods are used in Servlet?Applet communication?
How can the checkbox class be used to create a radio button?
How do we access static members in java?
What is bool mean?
Why java is platform independent? Explain.
How does the java compiler work?
What is java and its types?
How do you create immutable object in java?