Difference between JSP and ASP

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.

JSP ASP
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.
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.
JSP is free of cost. ASP is not free.
JSP is platform independent. ASP is not platform independent.
JSP have memory leak protection. ASP have not memory leak protection.
JSP code is compiled at run-time. ASP code is not compiled, because it uses VB-script, therefore it is an interpreted language.
JSP provides better security. ASP provides poor security.
Extension of JSP is .jsp Extension of ASP is .asp


My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.