How are Servlets and JSP Pages related?

Answers were Sorted based on User's Feedback



How are Servlets and JSP Pages related?..

Answer / 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

How are Servlets and JSP Pages related?..

Answer / ambika

Relationof servlet and JSP is

RequestDispatcher reqdip=req.RequestDispatcher("sum.jsp");
forward.req(req,res)

Is This Answer Correct ?    3 Yes 6 No

Post New Answer

More JSP Interview Questions

What are the literals used in jsp?

0 Answers  


Is jsp technology extensible?

0 Answers  


What are page directives?

0 Answers  


Which jsp lifecycle methods can be overridden?

0 Answers  


how to connect the back end with Directive tag in jsp ...

1 Answers  






What is declaration statement?

0 Answers  


What do jsp literals consist of?

0 Answers  


Can we override jsp service method?

0 Answers  


Why is jstl used?

0 Answers  


Explain jsp and tell its uses?

0 Answers  


How can I use jsp in the mvc model?

0 Answers  


What are the life-cycle methods for a jsp?

0 Answers  


Categories