Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between Servlet and JSP?Advantage of
JSP over Servelt?Any concept present in JSP which we cant
implement in Servlet?

Answer Posted / naina verma

Difference between servlets and JSP:

1. Servlet = HTML in java code.
JSP = java code in HTML.

2. Servlet support all protocols.
JSP only support HTTP protocol.

3. Servlet has more Dynamic content and less Static.
JSP less Dynamic content and more static content.

4. Servlet has business logic.
JSP has presentation and business logic both.

5. In servlet for any modification recompilation is done.
In JSP no recompilation is done for any modification.

6. Servlet is fast.
JSP is Slow.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When jsessionid is created?

1100


What is the difference between servlet and jsp?

1175


Explain the difference between jsp and servlet?

1148


Describe servlet?

1095


What do you mean by chaining in servlet?

1081


What are different Authentication options available in Servlets.

1128


The code in a finally clause will never fail to execute, right?

1149


I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

2740


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

1099


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

1082


Why HttpServlet class is declared abstract?

1282


What is MIME Type?

1203


What are the new features added to servlet 2.5?

1153


What is meant by a web application

1068


Explain how to improve Servlet Performance?

1200