What is the difference between JSP and Servlet?

Answer Posted / amit kharkia

1)jsp is the tag oriented where as servlet are not the tag
oriented.
2)for the servlet mpping is required where as for jsp no
mapping is required.
3)jsp files are saved by .jsp extension where as servlet
files are saved by .java extension.
4)servlets are more faster than jsp.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pagecontext jsp?

525


When does a container initialize multiple jsp objects?

490


Is it possible to share an httpsession between a jsp and ejb? What happens when I change a value in the httpsession from inside an ejb?

513


Which directive is used in jsp custom tag?

525


Which categories can be divided jstl tags, give examples.

516






What are directives? What are the different types of directives available in jsp?

485


How do I perform browser redirection from a jsp page?

504


What are the jsp elements?

460


What is the jsp:plugin action ?

538


Which jsp implicit objects are thread safe?

492


What is a hidden comment in jsp?

485


What is the standard action?

524


What do you know about jsp tags? Explain how you understand the action tag and jsp action elements.

573


What language is used to write servlets and jsp?

471


What is the purpose of ?

510