Open In App
Related Articles

Difference between JSP and ASP

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report

JSP stands for Java Server Pages, a server-side scripting language which helps developers to create dynamic web pages based on HTML, XML or other types. It was created by Sun Micro systems. It’s also similar to the ASP and PHP but it uses Java programming languages and it has the full access to Java APIs as well as databases. ASP stands for Active Server Pages, a server-side language which is used in web development to implement dynamic web pages. It was created by Microsoft. It is also known as Classic ASP. It’s a development framework for building web pages. It is an interpreted language rather than compiled. When a browser requests an ASP file, the ASP engine reads the file, executes code in the file, and returns the result to the browser. Now it’s another version(ASP.NET) is released which is compiled because it uses .NET. Now, we will see the difference between JSP and ASP which are given below.

 JSPASP
1.JSP stands for Java Server Pages, which helps developers to create dynamically web pages based on HTML, XML, or other types.ASP stands for Active Server Pages, which is used in web development to implement dynamic web pages.
2.JSP is a server side scripting language, which was created by Sun Micro systems.ASP is also a server side scripting language, which was created by Microsoft.
3.JSP is free of cost.ASP is not free.
4.JSP is platform independent.ASP is not platform independent.
5.JSP have memory leak protection.ASP have not memory leak protection.
6.JSP code is compiled at run-time.ASP code is not compiled, because it uses VB-script, therefore it is an interpreted language.
7.JSP provides better security.ASP provides poor security.
8.Extension of JSP is .jspExtension of ASP is .asp
9.It runs on JAVA programming language.It runs on Visual Basic language.
10. The code in JSP executes faster than ASP.The ASP code executes slower than JSP.
11.It works with respect to Java Security Model.It implements its work on the Windows NT Security Architecture Model.
12.Libraries are supported in JSP.Custom libraries are not supported in ASP.

Last Updated : 27 Mar, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads