Why servlet is faster than jsp?



Why servlet is faster than jsp?..

Answer / Omdutt

Servlets are compiled to bytecode before they are deployed, making them faster in execution compared to JSP which needs to be translated at runtime.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

What are the functions of Servlet container?

1 Answers  


Hi............ When i am started the tomcat server it started. but it not load the jar files wht we deploving file.suppose we load the wapp folder in webapps. At running time it show the below error in tomcat server INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\web apps\wapp\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, s ection 9.7.2. Offending class: javax/servlet/Servlet.class How to slove this problem in my system. plz give answer for this problem.

5 Answers  


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

1 Answers  


Explain the difference between get and post method in servlet?

1 Answers  


What's the servlet interface?

1 Answers  


Is it possible to call servlet with parameters in the URL?

4 Answers  


What is the difference between a generic servlet and http servlet?

1 Answers  


What is difference between server and servlet?

1 Answers  


What is the functionality of actionservlet and requestprocessor?

1 Answers  


What is the importance of init() method in Servlet ?

1 Answers   BirlaSoft,


Difference between web container & web server........... Difference between web server & application server?????????

8 Answers   TCS,


What is the difference between forward () and sendredirect () functions in servlet? Explain

1 Answers  


Categories