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

how the jsp file is compiled?

4 Answers   College School Exams Tests, Persistent,


What is jsp and its uses?

0 Answers  


What do cookies mean?

0 Answers  


Explain the difference between jspwriter and servlet printwriter in jsp?

0 Answers  


What are jsp and servlets?

0 Answers  






Why don’t we need to configure jsp standard tags in web.xml?

0 Answers  


Can we call servlet from jsp?

0 Answers  


Which directive is used in jsp custom tag?

0 Answers  


How did you implement caching in jsp?

0 Answers  


What do you mean by custom tag in jsp?

0 Answers  


Mention the scope values for <jsp.usebean> tag.

0 Answers  


How can i connect from jsp to servlet page

7 Answers   Spring Board, TCS,


Categories