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 is welcome file list?

0 Answers  


What is jsp usebean?

0 Answers  


What is the need of jsp?

0 Answers  


Explain jsp action elements or action tags?

0 Answers  


What are directives? What are the different types of directives available in jsp?

0 Answers  






How to works asjx in jsp?

1 Answers  


How to find the hidden answers present in an online exam?

3 Answers  


What is contextpath?

0 Answers  


Tell us about the jsp life cycle methods.

0 Answers  


What language is used to write servlets and jsp?

0 Answers  


What is jsp and how it works?

0 Answers  


Are dialogue tags necessary?

0 Answers  


Categories