Best Answer



1. Servlet is a java class.

2. Servlet is a single instance multiple thread web application, In which HTML code can be included in java code.

3. In servlets the presentation logic and the B.logic is tightly coupled.

4. For every modification done in servlet program, we need to recompile and reload the application.

5. In servlets implicit objects are not available.

6. Servlets are supported to HTTP, FTP, and SMTP protocols.

7. Sevlets are need Deployment Descriptor file (web.xml)

1. Jsp is a file.

2. In jsp java code can be included in HTML code by using special tags.

3. In jsp's the presentation logic and B.logic are separated by defining the java beans.

4. If any modifications done in jsp's without recompiling and reloading , the modifications are reflected.

5. In jsp's implicit objects are available which is we can implement directly into jsp pages.

6. Jsp are supported to HTTP protocol only.

7. No need of Deployment Descriptor file (web.xml)

User Avatar

Wiki User

โˆ™ 2010-10-09 05:33:32
This answer is:
User Avatar
Study guides

Add your answer:

Earn +20 pts
Q: What is difference between servlets and java server pages?
Write your answer...
Still have questions?
magnify glass
Related questions

What has the author Marty Hall written?

Marty Hall has written: 'More servlets and JavaServer pages' -- subject(s): Active server pages, Java (Computer program language), Servlets

What is the difference between server and domains?

The difference between the server and domains is fairly simple. The server is the system on which the entire functions rest, and the domains are pages within that system. Imagine the server as a neighborhood and domains as houses.

What is the difference between web browser and web server?

A web browser is a software application that displays web pages and allows you to access information on the Internet. The difference between the web browser and a web server is that the web server sends information to the browser. A web server is a computer or program that accepts HTTP requests and delivers the pages to your browser.

What is the difference between an ASP and an ISP?

ASP means active server pages and ISP means Internet service provider

How you can display servlet page in jsp page?

You cannot. You display JSP Pages using the help of Servlets. Servlets are of the background classes and you cannot display them

What is Apache bridge?

The Apache Bridge is an Apache plugin that integrates an Application server like Oracle's Weblogic with an Apache HTTP server and is usually used in cases in which Apache handles static web pages and Weblogic servlets handle the dynamic content.

What is difference between website and webpage?

Website is a set of web pages hosted at one server. Web page is a page where the content is gathered together.

What has the author Andrea Steelman written?

Andrea Steelman has written: 'Murach's Java servlets and JSP' -- subject(s): Java (Computer program language), JavaServer pages, Servlets

How to upload excel sheet data into a MySQL database using JSP and Servlets?

It is very easy to upload excel spreadsheet data into a MySQL database using JSP and servlets. Within Java there is a tool where you can designate the name and location of the file you would like to import. Once you furnish the file name Java server pages will do the work for you.

What is the difference between and JAVA?

ASP.NET and Java are two frameworks/languages for web development. ASP.NET stands for Active Server Pages and is applied to Microsoft's .NET framework.

What is the difference between php and cake php?

PHP is a programming language which is used to create server side pages which are process by server and CakePHP is a framework which is written using php which helps developers to create web pages or we can say web application easily and quickly. CakePHP is a tool to create web application.

What are some good active server pages?

There are many active server pages available on the internet. One could use server pages either developed by Google, Dell, or other server providers such as IBM.

People also asked