How are Servlets and JSP Pages related?

Answer Posted / janet

Jsp pages are focussed around HTML (or XML) with java codes
and JSP tags inside them.When a web server that has JSP
support is asked for a JSP page,it checks to see if it has
already compiled the page into a servlet.Thus ,JSP pages
become servlets and are transformed into pure Java and then
compiled,loaded into the server and executed.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jsp declaration?

700


In the servlet 2.4 specification singlethreadmodel has been deprecated, why?

712


Mention the advantages of jsp over pure servlets?

694


What is difference between include directive and jsp:include action?

709


Hi, I've applied for HPCL(Information System Officer)& UIIC (A).Plz send me previous/sample papers and any suggestions regarding this exam.Please advice me good study material or related links. Thanks in advance shyam shyamprasad71@gmail.com

2192


How we can configure init params in jsp?

762


How to deactivate el usage on jsp?

769


Can we define a class inside a jsp page?

691


How do I prevent the output of my jsp or servlet pages from being cached by the browser?

722


What is out in jsp?

692


How to disable session in jsp?

736


What is the difference between a jspwriter and a servlet printwriter?

707


What is < jsp:forward> tag for?

732


What are the advantages of jstl?

692


What is jsp processing?

677