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 a declaration statement?

706


What are the different scopes an object can have in a jsp page?

722


Which two interfaces does the javax servlet jsp package have?

927


What are the jsp tags?

678


What is a tag file in jsp?

699


Is jsp a programming language?

687


Tell us about the jsp life cycle methods.

678


What do you know about writing custom jsp tags?

644


What is context url?

675


How to comment out jsp code?

704


How do I use comments within a jsp page?

712


What is jstl (jsp standard tag library)?

718


What do you mean by custom tag in jsp?

712


What is a jsp page?

733


What are the ways to insert java code into jsp page?

746