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 can the applets be displayed in the jsp? Explain with an example.

0 Answers  


Explain jsp and tell its uses?

0 Answers  


What is a jsp expression?

0 Answers  


What will happen if iselignored attribute is set as false?

0 Answers  


What are the elements of jsp?

0 Answers  






Explain lifecycle methods.

0 Answers  


What is jsp and how it works?

0 Answers  


What are the life-cycle methods for a jsp?

0 Answers  


Why jsp is better over static html also explain lifecycle of a jsp?

0 Answers  


What are the lifecycle phases of a jsp?

0 Answers  


How to make a “new line in html” in jsp?

0 Answers  


why JSP is bigger choice for software development as compare to ASP.

2 Answers  


Categories