Do Until UserNames.EOF
Response.Write UserNames("UserName
` Close the database connection
Scripting languages, as used by ASP, were thought of as true RAD languages, since they are 
very simple to use (e.g. no strong variable types are required). However, with the increasing 
complexity of Web applications, the usage of scripting proved to incur some serious limitations. 
Exception handling, for example, is possible in ASP, but it is very cumbersome as the following 
code excerpt demonstrates. The scalability of VB style error handling is poor, since VBScript or 
Jscript do not provide the means to process errors with throwing and catching. 
<%@ language="VBScript" %>
Sub Foo()
. . .
On Error Goto ErrHandler
Set Conn = Server.CreateObject("ADODB.Connection")
. . .
` Some SQL Statements
Exit Sub
Call ErrHandler(Conn)
End Sub
Sub ErrHander(Conn)
for Counter = 0 to NumberOfErrors 1
Response.write "Error=" & Number & ", " & Description;
. . .
' Also close any existing connections
End Sub
Another problem with scripting languages is that an organization of the application into classes 
and libraries (namespaces) is not possible. This decreases maintainability and clarity especially 
in larger projects. Reuse of code in ASP 3.0 is difficult due to the lack of namespaces. To 
achieve reuse in ASP 3.0, functions need to be maintained in separate asp files. Then, these 
files have to be added to each page with an include directive. Another way of reuse is the 
generation of COM's, but this requires additional development time and effort. 

Java Web Hosting Application Development Using Java Technologies Hosting Business web hosting division of Vision Web Hosting Inc. All rights reserved.