You might be a little suspicious already, however, since embedding code into a JSP page would seem to cause problems with the first goal of JSP technology, separating content from presentation.
不过,您可能已经开始有点好奇,因为将代码嵌入到jsp页面中似乎与JSP技术的首要目标(分离内容和表示)有所冲突。
The resulting page should include some form of tag library code that can display the content of a document.
结果页面应该包括一些格式的标签库代码,它们可以显示文档的内容。
The code in Listing 1 requests a page from the server, and then places that content into a tag in the body of the page.
清单1中的代码从服务器请求一个页面然后将内容放入页面主体的标记中。
应用推荐