http://www.itjxue.com  1970-01-01 08:00  来源:  点击次数: 

制作asp形式的网页首先应怎么做,接下来呢?

ASP网页不可以直接通过浏览器打开。

需要通过服务器端软件对代码进行解析。把解析完的结果生成HTML文件,传到浏览器。

如果你在网上有空间的话,可以直接上传到空间里

如果没有空加的话,以自己的电脑当服务器,在浏览器里输入你的计算机名。

服务器软件可以通过系统安装盘来安装。

插入安装盘,安装新组件,

(XP的话是IIS)

(98的话是PWS)

关于做ASP网页.

LZ应该和我差不多,我现在也在学ASP,网页三剑客只是做前台用的,ASP的话只用Dreamweaver就行,用Dreamweaver做好前台,加上ASP代码就行,JAVA不用非得学,只要会用就行,想要实现什么功能直接去网上下载,然后复制到网页上就行,这个网站看一下,上面的教程不错

做一个ASP的网站,需要学那些知识?ASP到底是用JavaScript,还是VB或者是C#他们有什么区别?

独立做网站需要懂蛮多东西,首先是前台的语言:HTML,XML,CSS 和脚本语言 javascript,如果懂点Flash就更好

后台语言,用ASP做网站,就是要懂VB,VBScript属于前台语言,不是ASP动态网站的后台语言,前台脚本语言会受到很多限制,比如文件操作,数据库操作等

另外就是要懂数据库,至少两种ACCESS和Sql server 。

VB,C# 是同是后台程序语言,后台语言只要服务器支持。VB一般常用于C/S模式,C#常用于B/S模式。

javascript, vbscript都属于前台客户端脚本语言,脚本语言在客户端被执行,受客户端限制

asp是做什么的

和脚本。文件中的脚本可以在服务器上执行

在继续前你应该有一些以下知识的基础:

HTML / XHTML

脚本语言像 JavaScript 或 VBScript

ASP是什么?

ASP 就是 Active Server Pages(活动 服务器 页);

ASP 程序运行在 IIS ;

IIS 就为 Internet Information Services(网际网络信息服务) ;

IIS 是 Windows 2000 中免费的组件 ;

IIS也是 Windows NT 4.0 可选安装组件;

组件可以从Microsoft上下载到;

PWS是袖珍版 - 但功能齐全的 IIS 版本;

PWS 可以在你的 Windows 95/98 CD上找到。

ASP 兼容性

ASP 是 Microsoft 的技术产物;

要运行IIS你必须有WINNT4.0或以上的版本;

要余兴PWS则要有WIN95或以上的版本;

ChiliASP是在非WINDOWS操作界面上运行的技术;

InstantASP另一种类似ChiliASP的技术 。

ASP文件是什么?

ASP文件和HTML文件类似

ASP文件可以包含文字、HTML、XML以及脚本等

ASP文件中的脚本是在服务器上执行的

ASP文件的后缀为.asp

ASP和HTML有什么区别?

当浏览器请求一个HTML文件时,服务器直接返回文件。

当浏览器请求ASP文件时,请求通过IIS递交给ASP引擎。引擎逐行读取ASP文件执行其中的脚本。最后ASP文件以HTML内容的形式返回到浏览器上

ASP可以为你做些什么?

动态编辑,给页面添加或是修改内容

响应用户的请求或从HTML表单上被提交的数据

访问数据或数据库并将结果返回到浏览器

为用户制定实用的页面

ASP相对于CGI 和 Perl的优势是它的简单和速度

因为你的ASP代码是无法从浏览器上看到从而为安全提供了保障

因ASP最后返回是的HTML形式的内容,他们可以在任何浏览器上查看

优秀的ASP程序可以将网络流量降到最少

ASP安装环境

你可以在你个人PC上运行ASP而不需要外部的服务器,但你必须安装微软的PWS(个人WEB服务器)或是网络信息服务器(IIS)

怎样在你的个人PC上运行ASP

如果你想认真对待ASP的话,你的操作系统至少应该为WIN98第二版,如果你是真正对待有关使用ASP的话,你的操作系统应该为WIN2000或以上版本。

怎样安装PWS并在WIN95上运行ASP[不做翻译]

How to install PWS and run ASP on Windows NT

How to install PWS and run ASP on Windows 98

How to install PWS and run ASP on Windows ME

如何在WIN2000上安装IIS并运行ASP

进入你的控制面板

在里面选择添加/删除程序

并选择添加删除WINDOWS组件

在向导中选择IIS(网络信息服务器),点确定

一个名为Inetpub的文件夹会建立在你的硬盘上(你的系统盘)

打开这个文件夹,找到名为wwwroot的文件夹

在这个wwwroot文件夹下建立一个新的文件夹,名字类似于 MyWeb

使用文本编辑器来书写一些ASP代码,然后在"MyWeb"文件夹下保存为"test1.asp"

要确保你的WEB服务器是运行中的 Open your browser and type in "", to view your first ASP page 打开你的浏览器,并在地址中打入"", 看看你的第一个ASP页面

How to install IIS and run ASP on Windows XP Professional

Note: You cannot run ASP on Windows XP Home Edition.

Insert the Windows XP Professional CD-Rom into your CD-Rom Drive

From your Start Button, go to Settings, and Control Panel

In the Control Panel window select Add/Remove Programs

In the Add/Remove window select Add/Remove Windows Components

In the Wizard window check Internet Information Services, click OK

An Inetpub folder will be created on your harddrive

Open the Inetpub folder, and find a folder named wwwroot

Create a new folder, like "MyWeb", under wwwroot.

Use a text editor to write some ASP code, save the file as "test1.asp" in the "MyWeb" folder

Make sure your Web server is running - its status can be checked by going into the Control Panel, then Administrative Tools, and double-click the "IIS Manager" icon

Open your browser and type in "", to view your first ASP page

How to install IIS and run ASP on Windows Server 2003 (Windows .NET Server)

When you start the Windows Server 2003, you should see the Manage Your Server wizard

If the wizard is not displayed, go to Administrative Tools, and select Manage Your Server

In the wizard, click Add or Remove a Role, click Next

Select Custom Configuration, click Next

Select Application Server role, click Next

Select Enable ASP.NET, click Next

Now, the wizard may ask for the Server 2003 CD. Insert the CD and let it run until it is finished, then click the Finish button

The wizard should now show the Application Server role installed

Click on Manage This Application Server to bring up the Application Server Management Console (MMC)

Expand the Internet Information Services (IIS) Manager, then expand your server, and then the Web Sites folder

You should see the Default Web Site, and it should not say (Stopped)

IIS is running!

In the Internet Information Services (IIS) Manager click on the Web Service Extensions folder

Here you will see that Active Server Pages are Prohibited (this is the default configuration of IIS 6)

Highlight Active Server Pages and click the Allow button

ASP is now active!

如何创建ASP网页

1、ASP是动态服务器页面(Active Server Page)的英文缩写,ASP的网页文件的格式是 .asp。现在常用于各种动态网站中。和html纯静态页面不一样,他需要通过服务器运行解析成纯文本页面透过浏览器展现给浏览者查看。如果直接查看文件,那些使用asp语言输入的文本就会直接显示出来,而不是解析后的文本串。因此需要其他辅助工具开发。

2、下载安装iis管理工具,然后在本地建立一个根目录作为asp开发文件路径。

3、开启iis管理工具建立虚拟网站,映射到刚刚建立的asp文件夹。开启父级路径。

4、下载开发工具,如dw,sublime等,然后建立测试文件test.asp写入% =now %.

5、在浏览器直接输入刚刚建立的虚拟网站地址,例如调试,输出的会是一串时间文本,证明创建asp网页成功。

怎么在自己的电脑上做ASP

如果是你xp专业版 应该不自动安装IIS,找到xp的光盘安装iis。如果你sever版本的Windows是自带iis的。安装成功后,在ie输入127.0.0.1,如果安装成功,可以出现asp的测试页。这时c盘的根目录下会出现wwwroot的文件夹,这是虚拟目录文件夹,把你的文件放在这个地方,如果你的编好的asp页面,在浏览器如果相应的名词即可。

(责任编辑:IT教学网)

更多
上一篇:没有了

推荐测评专题文章