What is the difference between JSP and Servlet?
Answer Posted / gaurav
The main difference between jsp and servlet is that in
servlet we write html code in java class and in jsp we write
java code in html page.Servlet is a java class.According to
MVC(model,view,controller) pattern servlet is used as
controller while JSP is used as view.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
List the various action tags used in jsp.
Can I stop jsp execution while in the midst of processing a request?
What is a declaration?
What is jstl?
What is translation phase?
What is a jsp and what is it used for?
What are scripting elements?
How does a servlet communicate with a jsp page?
Explain jsp?
How do I view jsp files in my browser?
What is the advantage of using getProperty action, as compared to the accessor method?
What is error page in jsp?
How to ignore the el expression evaluation in a jsp?
Explain jsp technology?
Why do we use jsp?