xml与jsp联手(外文文献翻译).doc

约12页DOC格式手机打开展开

xml与jsp联手(外文文献翻译),i'm going to assume that, like most java programmers, you know what javaserver pages (jsp) and extensible markup language (xml) are, but you may be a little unc...
编号:10-206291大小:58.00K
分类: 论文>外文翻译

内容介绍

此文档由会员 wanli1988go 发布

I'm going to assume that, like most Java programmers, you know what JavaServer Pages (JSP) and Extensible Markup Language (XML) are, but you may be a little unclear on how you can use them. JSP use is pretty easy to defend. It allows you to design a Website built from files that look and act a lot like HTML. The only difference is that JSPs also act dynamically -- for example, they can process forms or read databases -- using Java as a server-side scripting language. XML use is more difficult to justify. While it seems as if every new product supports it, each one seems to be using XML for a different purpose.
In this article, you will learn to design a system using XML in a fairly modest way. Many Websites have vast collections of data that are displayed in a more or less standard way. I will design a system that uses XML files to store data on a Web server and JSP files to display that data.

我们在此假设你已经了解javaserver pages(jsp)和extensible markup language (xml)。但也许你对该如何综合使用它们仍然有些迷惑。jsp的应用很容易,你可以用它设计网页,使之看起来似乎和html一样。唯一的不同是jsp是动态执行的。例如,它们可以处理表单form和读写数据库。xml的应用的说明则比较困难。似乎所有的产品都支持它,每个人也好象都以各种不同目的在使用它。

在本文中,你可以看到如何使用一种相当先进的方式用xml来设计一个系统。许多站点有巨量数据收集并以一种很标准或很不标准的方式来显示它们。我将设计一个系统,它使用xml文件在web服务器上进行存储,并用jsp来显示数据。