JSP Vs ASP

India
February 7, 2007 3:11am CST
What server side scripting language should you use for your website? I prefer JSP to ASP
6 responses
• India
10 Feb 07
jsp and asp both r almost similar in function jsp and asp both are used for server side programming but its a fact that the asp is run only on windows os but jsp is java code and java is platform independent so we can run our server in any platorm. i prefer java server page
@abhiquest (579)
• India
7 Feb 07
Its JSP!! I think worldover it commands a majority of vote from the users and experts.
• India
7 Feb 07
I think so
@huanghaozi (1472)
• Egypt
10 Feb 07
Introduction 5-6 years back it was easy to choose a server-side language as CGI used to be only the only scripting language available. But in due course of time, the developers found out that CGI scripts were inefficient and it was very difficult to write server extensions. At that time, Microsoft came up with Active Server Pages (ASP), which allows developers to use simple scripting to access the server and its extensions. But ASP had some disadvantages. It limits you to work on Microsoft platforms, and the simplest of mistakes in the script can cause the server to crash or hang, effectively bringing down your website. In response to ASP, Sun Microsystems gave the world Java Server Pages (JSP) technology, which is entirely based on Java programming language. Internally, JSP pages are dynamically converted into Servlets, which are simply Java classes. This means JSP enjoys all the capabilities that Java programming supports. JSP is a great deal more efficient than many other scripting languages, such as CGI and ASP. Tags can be defined in tag libraries and then used within any JSP page. This makes for a better separation of page content from its code, which leads to less scattered code and hence, the site is easier to maintain. Global changes need to be made only to the tags defined in these tag libraries, making time-consuming, page-by-page fixes things of the past. JSP versus ASP JSP and ASP have some basic concepts in common. 1) They both make use of simple sever-side scripting to provide access to Web server information and functionality. 2) They both have similar styles of delimiting this scripting from a page's content. In fact, Microsoft's has recently come up with ASP+ is much more similar to JSP than ASP. Yet while ASP primarily supports two scripting languages, JScript and VBScript, JSP actually supports real Java code, not a new scripting language. The difference is that the Java code inside a JSP page is more script-like because it doesn't require Java class and package definitions. JScript, VBScript, and Java (in JSP) are all object oriented to some degree as they are all provided with a set of pre-established objects by the Web server that they use to generate a dynamic Web page.
@ezzrssi (11188)
• Italy
7 Feb 07
i prefer jsp
• Philippines
26 Feb 07
I guess it depends on the platform used. As for me I'm good into ASP, but now i'm studying JSP to be a flexible programmer
@FLampard (394)
• Malaysia
9 Mar 07
asp