I am looking for a list of disadvantages of ASP when compared to JSP. the disadvantages of JSP i have are as follows:
JSP is not without problems itself, as a matter of fact there are quite a few problems with it. Firstly JSP needs a compiler to be on the server with it to change the code to servlets. This is problematic because most outside compilers are written in C++ which doesn't work on all platforms thereby limiting where JSP can be used. Another big problem with JSP is that it takes up a lot of hard drive space. For every 30K JSP file a corresponding "larger-than-30K" class file is created therein doubling the hard drive requirements. Some of the smaller problems with JSP are that debugging and database connectivity prove difficult. Lets first look at debugging, when a JSP page is run it is first converted to a Java file. If an error occurs then the line number of the error refers to the line in the Java code not the JSP code. For example if an error occurs in the first couple of lines of the JSP code the error in the Java code could be in the 30th line or so. This makes debugging a grueling experience because you have to track down code in the JSP
program to fix the problem. Next is the database problem, most servlet engines (needed to run JSP programs) do not support database connections and therefore a lot of extra code must be added to a JSP program to achieve this function.
If you could give similar problems for asp it would be greatly appreciated
thx
JSP is not without problems itself, as a matter of fact there are quite a few problems with it. Firstly JSP needs a compiler to be on the server with it to change the code to servlets. This is problematic because most outside compilers are written in C++ which doesn't work on all platforms thereby limiting where JSP can be used. Another big problem with JSP is that it takes up a lot of hard drive space. For every 30K JSP file a corresponding "larger-than-30K" class file is created therein doubling the hard drive requirements. Some of the smaller problems with JSP are that debugging and database connectivity prove difficult. Lets first look at debugging, when a JSP page is run it is first converted to a Java file. If an error occurs then the line number of the error refers to the line in the Java code not the JSP code. For example if an error occurs in the first couple of lines of the JSP code the error in the Java code could be in the 30th line or so. This makes debugging a grueling experience because you have to track down code in the JSP
program to fix the problem. Next is the database problem, most servlet engines (needed to run JSP programs) do not support database connections and therefore a lot of extra code must be added to a JSP program to achieve this function.
If you could give similar problems for asp it would be greatly appreciated
thx