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

How do you delete the session data?

518


Which directive is used in jsp custom tag?

521


What is scriptlet tag?

520


What is jsp scriptlet tag used for?

496


What is the purpose of creating custom tags?

527






What are the standard actions available in jsp?

537


What is jsp page?

529


What is request scope in jsp?

514


Why do we use jsp?

494


How many messaging models do jms provide for and what are they?

540


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

522


How can we handle the exceptions in jsp?

504


Why is used in jsp?

493


How can I implement a thread-safe jsp page?

531


How we can include the result of another page in jsp?

506