Which is faster in execution - JSP or SERVLET ? Why ?

Showing Answers 1 - 2 of 2 Answers

ABHAY GWALIORKAR

  • Nov 11th, 2005
 

Servlet is faster then jsp as jsp will get compiles and converts into servlet which will take an extra time.

  Was this answer useful?  Yes

Sushil

  • Nov 24th, 2005
 

Servlet is faster than JSP,beacuse JSP is a intenal servlet.when you request for a jsp page first time, the Jsp engine compiles the jsp page into servlet and the excute it,this will increase the time to load where as servlet is directly excuted by the servlet engine.But this will happen only first time.After words the jsp page will load much faster.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions