知方号

知方号

5.5. Using Template Text

Using Template Text

Besides JSPelements, notice that the easy.jsp page containsmostly regular HTML, highlighted in Example 5-2.

Example 5-2. JSP page template text JSP is Easy JSP is as easy as ... 1 + 2 + 3 =

In JSP parlance, this is called template text. Everything that’s not aJSP element (i.e., not a directive, action or scripting element) istemplate text. Template text is sent to the browser as is. This meansyou can use JSP to generate any type of text-based output, such asXML, WML, or even plain text. The JSP containerdoesn’t care what the template text represents.

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lizi9903@foxmail.com举报,一经查实,本站将立刻删除。