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
Write a command to get actual path of a servlet to the server?
Difference between get and post in java servlets?
Why HttpServlet class is declared abstract?
Is tomcat a servlet container?
How will you pass values from HTML page to the servlet?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What is difference between jsp and servlet?
Explain web application directory arrangement?
Tell us something about servletcontext interface.
What are different methods of session management in servlets?
What do you mean by chaining in servlet?
What are Servlets?
What are the functions of Servlet container?
Who is responsible to create the object of servlet?
What are the types of servlets? Explain