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 an off by one error in java?
What is a string token?
Explain the difference between throw and throws in java?
What is a singleton class? Give a practical example of its usage.
Why do you canvas?
How do you square a number in java?
What is the difference between variable declaration and variable initialization?
What is dynamic binding(late binding)?
Is static a keyword in java?
What is the difference between static and global variables and also define what are volatile variables?
What is a 16 bit word?
What is == and === in javascript?
Is java programming easy?
What is a boolean output?
Explain the polymorphism principle?