Write jsp with xml
来源:互联网 发布:linux查找log日志命令 编辑:程序博客网 时间:2024/05/01 15:42
The XML is getting more and more popular, and there are many advantages to use XML. Luckily, the jsp pages can be represented by XML.
Benefits of writing JSP pages as XML document: (Reference: A Developer's Guide to J2EE Solutions)
1. The content of the JSP page can be validated against a set of descriptions.
2. The JSP page can be manipulated using an XML tool.
3. The JSP page can be generated from a textual representation by applying an XML transformation.
Directives:
<%@ directive key=value key=value%>----> <jsp:directive.directiveName attribute_list/>
directive can be page, include, taglib
<%@ page name=value%>----> <jsp:directive.page attribute_list/>
<%@ include %>----> <jsp:directive.include attribute_list/>
<%@taglib %>----> <jsp:directive.taglib attribute_list/>
Scripting elements:
scriptlets <% ... %>-----><jsp:scriptlet>script</jsp:scriptlet>
declaration <%! ... %>-----><jsp:declaration>declaration code <jsp:declaration>
expressions <%= ... %>-----><jsp:expression>expression</jsp:expression>
Template Data
<jsp:text> text </jsp:text>
- Write jsp with xml
- How To Read and Write XML Documents with GDataXML
- How To Read and Write XML Documents with GDataXML
- How To Read and Write XML Documents with GDataXML
- xml Write
- xml Write
- How To Read and Write XML Documents with GDataXML(使用GData读写XML文档)
- Write with Vim (1)
- Write with Vim(2)
- Write with Vim (2)
- Read and Write XML
- [struts]Write web.xml
- READ Write xml
- write XML-DOM Parser
- python write xml
- python write xml
- python write xml
- python write xml
- 勿以恶小而为之——还得由那个#号说起
- 复制粘帖要小心,桌面检查不可少!
- pku2349
- 看了很多知识点,但是自己连贯不起来。
- WCF服务中数据契约的命名空间疑问
- Write jsp with xml
- java连接数据库实例
- Is It A Tree? hdu1325
- 练沟通,练Face,顺便赚点外快,这买卖不错
- google Reader快捷键
- Visual studio 2008切换设计视图无响应
- 我的2009
- VS2008中自定义C++工程模板与修改新建文件默认编码的办法
- 裁人