1) ASP.NET code can be written in any .NET complaint language, whereas, JSP pages can only be written in Java language and HTML.
2)ASP.NET pages support server controls, also called Web controls. Though these controls ASP .NET page can be linked with the database. JSP does not have any such provision.
3)ASP .NET forms retain their view state even when we move to the next page. This is not the case in JSP.
4)ASP.NET pages are compiled to a DLL, whereas, JSP pages are compiled to servlets.
Asked In: Many Interviews |