what is the difference between Servlet and JSP?Advantage of
JSP over Servelt?Any concept present in JSP which we cant
implement in Servlet?
Answer Posted / rajesh
Actually There is no difference bw Servlet and jsp
Both are aimed to achive the same result but in normall
usuage ,we can select a jsp as a View and serlvlet as a
container Since we need to seperate the Presentation logic
from Controller part as per MVC 2 architecture.
The question it self is not correct because all the Jsp
would end up in a servlet at LAST.
Thanks
Rajesh
Rajeshr1988@gmail.com
Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
What are the life cycle methods of a servlet?
Which interface must be implemented by all servlets?
What are the uses of servlet
How to get the current httpsession object?
What is the difference between Servlets and Applets?
What is a server side include (ssi)
What's the difference between servlets and applets?
How do I use cookies to store session state on the client?
How to rectify errors in java servlet while compilation?
Explain the war file?
What is the difference between sendredirect() and forward() in a servlet?
How do servlets work?
Can we use the constructor, instead of init(), to initialize servlet?
How we can get ip address of client in servlet?
What are the life-cycle methods for a servlet?