Can you call a jsp from the servlet?



Can you call a jsp from the servlet?..

Answer / Vikash Kumar

Yes, you can include or forward a JSP page within a servlet using the request dispatcher. You can use the include() or forward() method of the RequestDispatcher interface to achieve this.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

What methodology can be followed to store more number of objects in a remote server?

1 Answers  


init() method of servlet loaded by?

3 Answers  


What is the requirement of servlet config and servlet context implemented and how are they implemented?

1 Answers  


What is ServletContext() and what is its use?

9 Answers   Prime Technology, TCS,


if we know the any consultancies, it will place in company work through consultancy(contract base). please help me I'm 2008 pass out java candidate...

1 Answers  


Which are the different ways you can communicate between servlets?

1 Answers  


How can we perform any action at the time of deploying the project?

1 Answers  


Name the different ways of session tracking.

1 Answers  


What is Client-Server Computing?

1 Answers   TCS,


where the session data will stored?

4 Answers  


How do I use cookies to store session state on the client?

1 Answers  


can i call destroy() method in init() method of servlet

9 Answers   Ericsson, IBM,


Categories