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
What is jsp application?
What is a jsp expression?
What is the need for jsp?
how can i add properties in dynamic text fields using .js file?
What is the difference between servletcontext and pagecontext?
How are the jsp requests handled?
What is JTGrid?
Show attributes of page directives.
What is the jsp:getproperty action?
What is el?
Why are the request.getrequestdispatcher() and context.getrequestdispatcher() used?
What is a jsp and what is it used for?
What is the use of?
What is c tag in jsp?
how to insert star image and need to rate it.. one star two star so on how to do in jsp...????