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 c tag in jsp?

0 Answers  


What are the jsp elements?

0 Answers  


What is the use of Application Object and Session Object in JSP?

4 Answers   HCL, Symphony,


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

3 Answers  


What are jsp and servlets?

0 Answers  






How can I implement a thread-safe jsp page? What are the advantages and disadvantages of using it?

0 Answers  


i have one jsp page. inside this, String s=req.getParameter("raja");...... now we want to remove duplicate characters and o/p will be like "rj".... what is the logic?

1 Answers  


What are the steps involved in reading data from a form using jsp?

0 Answers  


How To maintain session ..?

3 Answers   TCS,


Explain the uses of <jsp:usebean> tag.

0 Answers  


What is jsp and its advantages?

0 Answers  


What are JSP scripting elements?

8 Answers  


Categories