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

Is jsp compiled?

0 Answers  


How to deactivate el usage on jsp?

0 Answers  


What is the different between servlet and struts

2 Answers  


What is full api?

0 Answers  


How do I include static files within a jsp page?

0 Answers  


What is the use of jsp implicit objects?

0 Answers  


What is taglibs?

0 Answers  


Are dialogue tags necessary?

0 Answers  


How does jsp engines instantiate tag handler classes instances?

0 Answers  


Why use of scripting elements in jsp is discouraged?

0 Answers  


Differentiate between jsp scriptlet tag and declaration tag.

0 Answers  


How to create menu in jsp with example?

0 Answers  


Categories