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 are the components that make up a tag library in jsp?

444


What is jsp and its uses?

522


Why does _jspService() start with an ‘_’ but other lifecycle methods do not?

537


Is jsp and javascript same?

495


List down the major differences between the jsp custom tags and java beans.

477






What are the three tags used in jsp bean development?

507


What is jsp and its advantages?

508


What is in jsp?

621


What are the elements of a jsp page?

489


What are the components of jsp?

506


When the destroy method of the jsp's are called?

491


How is jsp include directive different from jsp include action. ?

538


How to ignore the el expression evaluation in a jsp?

510


How do I open a jsp file?

572


What is jspinit method?

506