<!--#echo var= Web Hosting, website hosting, web site hosting , web page hosting Apache, PHP, MySQL, PERL, servlets Java, JSP " height=1 src="../images/im_spacer.gif" width=125> <!--#echo var= Web Hosting website hosting, web site hosting, web page hosting Apache, PHP, MySQL, PERL, servlets Java, JSP,Python" height=1 src="../images/im_spacer.gif" width=53> <!--#echo var= Web Hosting website hosting, web site hosting, web page hosting Apache, PHP, MySQL, PERL, servlets Java, JSP,Python" height=1 src="../images/im_spacer.gif" width=407> <!--#echo var= Web Hosting website hosting, web site hosting, web page hosting Apache, PHP, MySQL, PERL, servlets Java, JSP,Python" height=1 src="../images/im_spacer.gif" width=43> <!--#echo var= Web Hosting website hosting, web site hosting, web page hosting, Apache, PHP, MySQL, PERL, servlets Java, JSP,Python" height=1 src="../images/im_spacer.gif" width=150>
/"><!--#echo var= Web Hosting, website hosting, web site hosting, web page hosting, Apache, PHP, MySQL, PERL, servlets Java, JSP, Python" border=0 height=100 width=78 src="../images/jumpingPC.gif" > <!--#echo var= Web Hosting, website hosting, web site hosting, web page hosting, Apache, PHP, MySQL, PERL, servlets Java, Python,JSP" height=29 src="../images/top_arc.gif" width=53>
<!--#echo var= Web Hosting Sign-Up" height=25 src="../images/topsignup_off.gif" width=150> Web Hosting Sign-Up" height=25 src="../images/topsignup_off.gif" width=150> NOTE from dennis ...... Also remove the signup from ../cgi-bin/whois.pl --> /fundraising/index.shtml" onmouseover="turnOn('topfund')" onmouseout="turnOff('topfund')"> <!--#echo var= Fund Raising, Fundraising, web hosting, website hosting, web site hosting" height=25 src="../images/topfund_off.gif" width=150> /reseller/index.shtml" onmouseover="turnOn('topreseller')" onmouseout="turnOff('topreseller')"> <!--#echo var= Resellers web hosting, website hosting, web site hosting" height=25 src="../images/topreseller_off.gif" width=150> /techsupport.shtml#EZ Control" onmouseover="turnOn('topcp')" onmouseout="turnOff('topcp')"><!--#echo var= EZ Site Control Panel for web hosting,website hosting, web site hosting" height=25 src="../images/topcontrolpanel_off.gif" width=150>
<!--#echo var= Web Hosting, website hosting, web site hosting , web page hosting Apache, PHP, MySQL, PERL, servlets Java, Python,JSP, Fundraising" height=75 src="../images/top_hdhp_1_18_07.gif" width=593>
<!--#echo var= Fund Raising, Fundraising, web hosting, website hosting, web site hosting" height=1 src="../images/im_spacer.gif" width=126>
/whois.shtml" method=GET> WWW.

Call Us Toll-Free
(877) 256-0328

/index.shtml" onmouseover="turnOn('welcome')" onmouseout="turnOff('welcome')"> <!--#echo var= Welcome"> /plans_overview.shtml" onmouseover="turnOn('overview')" onmouseout="turnOff('overview')"> <!--#echo var= Web Hosting Plans Overview , Fund Raising, Fundraising, web hosting, website hosting, web site hosting"> /fundraising/index.shtml" onmouseover="turnOn('fundraising')" onmouseout="turnOff('fundraising')"> <!--#echo var= Fund Raising, Fundraising, web hosting"> /reseller/index.shtml" onmouseover="turnOn('reseller')" onmouseout="turnOff('reseller')"> <!--#echo var= Resellers, web Hosting"> /webdesign.shtml" onmouseover="turnOn('webdevel')" onmouseout="turnOff('webdevel')"> <!--#echo var= Web Design, web Hosting"> /extraservices.shtml" onmouseover="turnOn('extra')" onmouseout="turnOff('extra')"> <!--#echo var= Extra Services, web Hosting"> /sitestudio/index.shtml" onmouseover="turnOn('sitestudio')" onmouseout="turnOff('sitestudio')"> <!--#echo var= Traffic Booster, web hosting"> /trafficbooster.shtml" onmouseover="turnOn('trafficbooster')" onmouseout="turnOff('trafficbooster')"> <!--#echo var= Traffic Booster, web hosting"> /techsupport.shtml" onmouseover="turnOn('support')" onmouseout="turnOff('support')"> <!--#echo var= Technical Support, web Hosting"> /tips/index.shtml" onmouseover="turnOn('webmastertips')" onmouseout="turnOff('webmastertips')"> <!--#echo var= webmaster tips, web Hosting"> /moneybackpolicy.shtml" onmouseover="turnOn('a30day')" onmouseout="turnOff('a30day')"> <!--#echo var= 30 Day Money Back, web hosting"> /legal.shtml" onmouseover="turnOn('legal')" onmouseout="turnOff('legal')"> <!--#echo var= Legal Notices for Web Hosting"> /glossary.shtml" onmouseover="turnOn('glossary')" onmouseout="turnOff('glossary')"> <!--#echo var= Glossary Computer Terms for web Hosting"> /contact.shtml" onmouseover="turnOn('contact')" onmouseout="turnOff('contact')"> <!--#echo var= Contact Information - web hosting">

/sitemap.shtml">Site Map
<!--#echo var= Web Hosting, website hosting, web site hosting , web page hosting Apache, PHP, MySQL, PERL, servlets Java, Python, JSP" src="../images/im_spacer.gif" width=5> <!--#echo var= " height=1 src="../images/im_spacer.gif" width=1> <!--#echo var= " height=1 src="../images/im_spacer.gif" width=1> <!--#echo var= " height=1 src="../images/im_spacer.gif" width=5> <!--#echo var= " height=1 src="../images/im_spacer.gif" width=5> <!--#echo var= " height=1 src="../images/im_spacer.gif" width=700>
[an error occurred while processing this directive]

Web Hosting Tips for Webmasters -
JSP versus ASP

JSP versus ASP Intro to JSP

Page 2 — JSP versus ASP

JSP and ASP do have some basic concepts in common. They both make use of simple sever-side scripting to provide access to Web server information and functionality. They both do so using object oriented scripting. And they both started out with similar styles of delimiting this scripting from a page's content. In fact, Microsoft is replacing ASP with ASP+ (or the .NET architecture), which is even more like JSP than ASP in that its pages are compiled upon request and run in a "virtual machine" (which supports multiple languages and is written in C#).

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. As you will see, the Java code inside JSP is added to methods of a Java Servlet that are generated the first time the JSP is requested. Of course, JScript, VBScript, and Java are all object oriented to some degree, or maybe to avoid getting into a political argument with those of you would dispute this claim I should refer to them as "Quasi-Object-Oriented." Whatever we choose to call them, we can at least agree that the scripting languages used by JSP and ASP are all provided with a set of pre-established objects by the Web server that they use to generate a dynamic Web page.

The following table lists some of the pre-established (instantiated, for the purist) objects that are available in both ASP and JSP.

ASPJSPDefinition
RequestrequestAccess to request information. This includes such items as input/form parameters, HTTP request header information, etc.
ResponseresponseAccess to response information and construction. This includes output MIME type and other HTTP response headers as well as the output stream itself.
SessionsessionAccess to session information.
ApplicationapplicationAccess to application information.
Response.WriteoutAccess to the response output stream. JSP provides a convenience object for direct output to this stream, whereas ASP uses a Response object method.

Note that JSP is Java, so it is case sensitive. But capitalization doesn't matter in VBScript, so if you stick to lowercase, there really isn't any difference in the names.

These are the main objects we have to work with when creating dynamic content in either ASP or JSP, so it's a good idea to become familiar with their methods. I'll use some of them in the examples that follow, but I can't go into every method available within the limits of this article.

As I mentioned earlier, both ASP and JSP support a similar way of delimiting scripting from content on a page. <% and %> are used to set of sections of script, '<%=' and '%>' are used to return a value within content, and <%@ and %> are used to delimit page directives. Here is a brief example using both ASP and JSP:

ASP (using JScript)
<%@ LANGUAGE = JScript %>
<TITLE>Simple Scripting Tricks</TITLE>
Anyone can count like this:<BR>

<%
   for (i = 1; i < 6; i++) {
     Response.Write(i + "<BR>");
   }
   i = 1000000;
%>
It would take a long time, however, to count to <%= i %>.
 
JSP
<%@ page language="java" %>
<TITLE>Simple Scripting Tricks</TITLE>
Anyone can count like this:<BR>
<%
   for (int i = 1; i < 6; i++) {
     out.println(i + "<BR>");
   }
   i = 1000000;
%>

It would take a long time, however, to count to <%= i %>.
 
HTML Output (from either JSP or ASP)
<TITLE>Simple Scripting Tricks</TITLE>
Anyone can count like this:<BR>

1<BR>
2<BR>
3<BR>
4<BR>
5<BR>
It would take a long time, however, to count to 1000000.

As you can see, there are some basic similarities between ASP and JSP. In fact, in this simple example, there's almost no difference. When we look deeper into JSP, however, fundamental differences will appear.

 
 
 

/RSSfeed.xml">Add to My Yahoo!

/RSSfeed.xml">XML icon

/RSSfeed.xml">Add to Google

 

 

 

 

 

 

 

 

 

 

 

JSP Servlets Tomcat mysql Java JSP Servlets Tomcat mysql Java JSP Servlets Tomcat mysql Java JSP Servlets Tomcat mysql Java JSP at JSP.aldenWEBhosting.com Servlets at servlets.aldenWEBhosting.com Tomcat at Tomcat.aldenWEBhosting.com mysql at mysql.aldenWEBhosting.com Java at Java.aldenWEBhosting.com Web Hosts Portal Web Links Web Links Web Hosting JSP Solutions Web Links JSP Solutions Web Hosting Servlets Solutions Web Links Servlets Solutions Web Hosting Web Links Web Links . . .
.
.
.
.
. .
. . . . . . . . . . . jsp hosting servlets hosting web hosting web sites designed cheap web hosting web site hosting myspace web hosting