活动服务器页面(外文翻译).doc

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

活动服务器页面(外文翻译),just like asps,jsps contain html for page layout and use embedded java programming code that allows dynamic content to be displayed on a web page. the jsp gets ...
编号:6-206296大小:49.50K
分类: 论文>外文翻译

内容介绍

此文档由会员 wanli1988go 发布

Just like ASPs,JSPs contain HTML for page layout and use embedded Java programming code that allows dynamic content to be displayed on a Web page.
The JSP gets compiled into servlet byte code to process the Web browser request to a database or another application.
JSP developers use static HTML, scriptlets (snippets of Java code) and tags to create the page that loads in the Web browser.The tags and scriptlets encapsulate the business logic on the HTML page.
When the browser makes a request,the embedded code runs in a servlet engine,which interprets the JSP tags and scriptlets and sends the results back as an HTML page to the browser.
JSP与ASP一样,包含了供页面设计的HTML并使用了嵌入式Java程序代码,以允许动态内容在Web页面中显示。

JSP被编译成servlet(服务器小程序)字节码,以处理对数据库或另一个应用程序的Web浏览器请求。

JSP开发人员利用静态的HTML、scriptlets(Java脚本小程序)和标记,生成载入Web浏览器的页面。标记和scriptlets把商业逻辑过程封装在HTML页面内。

当浏览器有请求时,就在servlet引擎中运行嵌入式程序代码,由该引擎解释JSP标记和scriptlets,并将结果按HTML页面发送给浏览器。